This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Don't read uninitialized data
authorKarl Williamson <public@khwilliamson.com>
Thu, 20 Feb 2014 04:14:44 +0000 (21:14 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 20 Feb 2014 04:29:23 +0000 (21:29 -0700)
commited885487570a4a0046b0cb32a477526f8f016d93
tree777e8a482999226c4889e36177047b4bffc62be2
parentd3db5cfeb8346f308b4354ee1c8970ab9b526472
regcomp.c: Don't read uninitialized data

I keep forgetting that the OP of a regnode is not defined in Pass 1 of
the regex compiler.  This is likely the cause of inconsistent results in
lib/locale.t, as valgrind shows there to be a read of uninitialized
data before this patch, and the result is randomly tainting when there
shouldn't be, consistent with the test failures.
embed.fnc
proto.h
regcomp.c