Commit d71477f
authored
KSChan::alloc always nulled prop->dparam[2] for point processes, but
that slot exists only when single-channel mode (or later fields) makes
ppsize > 2. Plain point KSChan instances allocate only area and pnt, so
the write was past the allocated Datum vector. The default ArrayPool
freelist order hid the overflow inside the next free slab row; a
reversed freelist exposes it under ASAN.
nrn_prop_datum_alloc already default-constructs every Datum to null, and
dparam[0]/[1] are filled by point.cpp after nrn_alloc. The redundant
nulling is removed; single_->alloc still runs when single_ is set and
the singleptr slot is null.
1 parent 1739c01 commit d71477f
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2328 | 2328 | | |
2329 | 2329 | | |
2330 | 2330 | | |
2331 | | - | |
2332 | | - | |
2333 | | - | |
2334 | 2331 | | |
2335 | 2332 | | |
2336 | 2333 | | |
| |||
0 commit comments