This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Safer stack handling for re-evals
authorFather Chrysostomos <sprout@cpan.org>
Tue, 13 Nov 2012 17:10:09 +0000 (09:10 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 13 Nov 2012 22:54:21 +0000 (14:54 -0800)
commit7f87a4de1805b005b66302addfebbc9749b7a1d9
tree78641558730b31f89062b5ec63d618306d1f068b
parenta56015b9dc044df9d25d61522b810c3a5043b5df
regexec.c: Safer stack handling for re-evals

I don’t believe there is an actual bug here (only a theoretical one), but comparing pointers into an array that has been reallocated meanwhile is not a good idea.
regexec.c