This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: fix perl #129897: trie short circuit breaks capture buffers
authorYves Orton <demerphq@gmail.com>
Mon, 17 Oct 2016 21:09:11 +0000 (23:09 +0200)
committerYves Orton <demerphq@gmail.com>
Wed, 19 Oct 2016 11:28:51 +0000 (13:28 +0200)
There is an optimisation when a trie matches only one thing
which causes it to fall through to the following code without
setting up a stack unwind frame. This breaks if we are using
a trie jump table where we might change state that will need
to be unwound on failure.


No differences found