summaryrefslogtreecommitdiffstats
path: root/signal.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-11-15 19:35:19 -0800
committerKaz Kylheku <kaz@kylheku.com>2023-11-15 19:35:19 -0800
commit7d6caf9959e5bf92c6714ca19fb2f628d3c72bfb (patch)
tree42456efc9567acf19a6da6015831671be79124df /signal.c
parentab7b3f9c872d103ffe21fa65f5b420dc94414f75 (diff)
downloadtxr-7d6caf9959e5bf92c6714ca19fb2f628d3c72bfb.tar.gz
txr-7d6caf9959e5bf92c6714ca19fb2f628d3c72bfb.tar.bz2
txr-7d6caf9959e5bf92c6714ca19fb2f628d3c72bfb.zip
oop: segfault in special methods cache.
* struct.c (invalidate_special_slots): New static function. (invalidate_special_slot_nonexistence): Move static function up in file, to be next to invalidate_special_slots. (make_struct_type, static_slot_ens_rec): Call the new invalidate_special_slots function in addition to calling static_slot_home_fixup whenever the stslots array is resized. The spslot array contains pointers to the elements of stslots, which become invalid when that is resized. * tests/012/oop-seq.tl: Repro test case added.
Diffstat (limited to 'signal.c')
0 files changed, 0 insertions, 0 deletions