summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2023-11-08 17:09:33 +0900
committerYusuke Endoh <mame@ruby-lang.org>2023-11-21 15:15:23 +0900
commita787e0d6494443cfd9bd05ac746704079dcfd03f (patch)
treefe4769153f7e52dcd20dc13556dc1511c31b8a22 /test
parentc3ab946e86134e05a81c0587ef1d5cdf1de4492f (diff)
Raise an exception if ar_table is converted to st_table during iteration
ar_table may be converted to st_table by `ar_force_convert_table`. If the conversion occurs during the iteration of ar_table, the iteration may lead to memory corruption. This change prevents the catastrophy by throwing an exception when the conversion is detected. This issue is reported by [SuperS](https://hackerone.com/superss)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions