summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-14 17:24:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-14 17:24:15 -0700
commitb691d5d10d7bd646cb2ab6805cbaf7303c45a4f2 (patch)
tree06832510fdf26a50d70a18d10884837a750bc011 /gc.c
parent400acf8d0a8df38401b5711894e9e342f6403d56 (diff)
downloadtxr-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