mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
893cc758c3
The primary reason is to fix an issue that occurs when an element is removed from the khash data during the `KHASH_FOREACH()` loop. If the value of `kh_end()` becomes smaller than `k` during the loop, it will repeat a meaningless internal loop until an integer overflow occurs.