diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2023-11-08 17:09:33 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2023-11-21 15:15:23 +0900 |
| commit | a787e0d6494443cfd9bd05ac746704079dcfd03f (patch) | |
| tree | fe4769153f7e52dcd20dc13556dc1511c31b8a22 /test | |
| parent | c3ab946e86134e05a81c0587ef1d5cdf1de4492f (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
