summaryrefslogtreecommitdiffhomepage
path: root/src/array.c
diff options
context:
space:
mode:
authorHorimoto Yasuhiro <[email protected]>2020-11-29 14:52:37 +0900
committerHorimoto Yasuhiro <[email protected]>2020-11-29 15:57:44 +0900
commitdf13d418c31856baed5bcba4636b9677c74b613c (patch)
treeedaa7e34fc3b8cfa6afa4728989ceabb5bd7b586 /src/array.c
parent6d07d9b3d7a64834bda8644ab6c4ed1fabe217a4 (diff)
downloadmruby-df13d418c31856baed5bcba4636b9677c74b613c.tar.gz
mruby-df13d418c31856baed5bcba4636b9677c74b613c.zip
Fix heap buffer overflow when dump irep
Currently, the size of writing in heap by write_irep_record() is bigger than The size that is calculated by get_irep_record_size. Therefore, irep is dumped over the size of allocating memory when we execute dump_irep().
Diffstat (limited to 'src/array.c')
0 files changed, 0 insertions, 0 deletions