stardis-solver

Solve coupled heat transfers
git clone git://git.meso-star.fr/stardis-solver.git
Log | Files | Refs | README | LICENSE

commit f0ee6619921d111b4e46364a33f8b318a1faef52
parent 49b65ae891d13f267652a2b14d6037abe4ee36f6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 17 Apr 2025 19:35:00 +0200

Fix an invalid memory read in WoS algorithm

Diffstat:
Msrc/sdis_heat_path_conductive_wos_Xd.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sdis_heat_path_conductive_wos_Xd.h b/src/sdis_heat_path_conductive_wos_Xd.h @@ -410,7 +410,7 @@ XD(setup_hit_wos) } /* Check path consistency */ - if(enc_ids[side] != rwalk->enc_id) { + if(side == SDIS_SIDE_NULL__ || enc_ids[side] != rwalk->enc_id) { res = RES_BAD_OP_IRRECOVERABLE; log_err(scn->dev, "%s:%s: the conductive path has reached an invalid interface. "