mirror of https://github.com/svaarala/duktape.git
Browse Source
The bytecode was missing DUK_REOP_SAVE for indices 0 and 1, i.e. the zeroth capture, which caused the RegExp.prototype to match an empty input but without providing the zeroth capture which is assumed in other parts of Duktape internals. This caused the GH-492 assert failure and, with asserts disabled, a segfault.pull/495/head
Sami Vaarala
9 years ago
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue