summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-11-16 01:04:57 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-11-16 01:04:57 +0900
commit180b73fec437e21e2e862fc47bff9ad07f581d2c (patch)
treea727dfb566e82d9784ffb268b3f1f3081cb410fa /include
parent0a022f7b8d3e6abc0320001430de9e7d63ba9212 (diff)
downloadmruby-180b73fec437e21e2e862fc47bff9ad07f581d2c.tar.gz
mruby-180b73fec437e21e2e862fc47bff9ad07f581d2c.zip
The key or value object could be reclaimed by GC; fix #4164
The GC may occur between `sg_shift` and `mrb_assoc_new`, in which case `key` and `value` could be freed even tough they are still alive. The issue is found and fixed by https://hackerone.com/hexodus
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions