summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2015-02-06 08:25:14 -0800
committerFather Chrysostomos <sprout@cpan.org>2015-02-06 09:14:21 -0800
commit488bc5795891132d29daec7a860cab2a6266230c (patch)
treefcb54d50df52b5936fe6bf710b2741fea1192130 /regen
parenteb82332cb71f48a5a63aa48dda0f6f55ee333ecb (diff)
downloadperl-488bc5795891132d29daec7a860cab2a6266230c.tar.gz
[perl #123737] Fix assertion failure with 0${
S_no_op, which displays ‘Foo found where operator expected’, assumes that PL_bufptr points to the beginning of the token, but that was not the case for ${ at the end of a line. The attempt to read more into the buffer would make PL_bufptr point to the end of the line. This meant it would use a negative string length when generating the ‘(Missing operator before foo?)’ text, only accidentally escaping a crash. On debugging builds, it failed an assertion.
Diffstat (limited to 'regen')
0 files changed, 0 insertions, 0 deletions