Ruby - Bug #15245: Heap buffer overflow (write of size 8) in vm.inc

nobu (Nobuyoshi Nakada)
2018-10-24T10:38:45Z

Status changed from Open to Closed

Applied in changeset trunk|r65350.

compile.c: fix peephole optimization

compile.c (iseq_peephole_optimize): should pop before jump
instruction which succeeds to newarray of a literal object,
not after. [ruby-core:89536] [Bug #15245]