This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #101940]: BBC Tk
authorKarl Williamson <public@khwilliamson.com>
Sat, 29 Oct 2011 17:20:40 +0000 (11:20 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sat, 29 Oct 2011 18:28:43 +0000 (12:28 -0600)
commit11951bcbfcaf4c260b0da0421e72fc80b4654f17
treed8cce01afc71f20d7ee308076709be40eb14f93f
parent3e0b93e82af0f1a033bcdb918b413113f1d61cf0
PATCH: [perl #101940]: BBC Tk

This commit that turned up this bug turns out merely exposes an
underlying problem that could be generated via other means.

regcomp.c was looking at the SvUTF8 flag on the input pattern before
doing an SvPV on it.  Generally the flag is considered not reliable
unless checked immediately after a SvPV.

I haven't been able to come up with a simple test case that reproduces
the bug.  I suspect that XS code is required to trigger it.
regcomp.c