diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-14 17:24:15 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-14 17:24:15 -0700 |
commit | b691d5d10d7bd646cb2ab6805cbaf7303c45a4f2 (patch) | |
tree | 06832510fdf26a50d70a18d10884837a750bc011 /gc.c | |
parent | 400acf8d0a8df38401b5711894e9e342f6403d56 (diff) | |
download | txr-b691d5d10d7bd646cb2ab6805cbaf7303c45a4f2.tar.gz txr-b691d5d10d7bd646cb2ab6805cbaf7303c45a4f2.tar.bz2 txr-b691d5d10d7bd646cb2ab6805cbaf7303c45a4f2.zip |
Fix generational-GC bug in struct code.
* struct.c (static_slot_ensure): In the case when we grow the
array of static slots, we were allowing chk_manage_vec to
initialize the newly added element. This is wrong, because
it is just a plain assignment, which causes a mature object
to point to a baby object. This bug caused static slots to
contain junk.
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions