This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: regex longjmp flaws
authorKarl Williamson <public@khwilliamson.com>
Wed, 15 Sep 2010 16:39:34 +0000 (10:39 -0600)
committerFlorian Ragwitz <rafl@debian.org>
Wed, 15 Sep 2010 17:29:38 +0000 (19:29 +0200)
commit595598ee1f247e72e06e4cfbe0f98406015df5cc
tree0a64c52ba10b45cc0d7e08bb63837ba99659d6d9
parentad4e703e577a4db278c9a482f9057a9c9109c720
PATCH: regex longjmp flaws

The netbsd - 5.0.2 compiler pointed out that the recent changes to add
longjmps to speed up some regex compilations can result in clobbering a
few values.  These depend on the compiled code, and so didn't show up in
other compiler's warnings.  This patch reinitializes them after a
longjmp.
regcomp.c
regcomp.h