Fix buffer overflow with overlong identifiers
authorFather Chrysostomos <sprout@cpan.org>
Mon, 9 Sep 2013 07:35:38 +0000 (00:35 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 9 Sep 2013 07:52:07 +0000 (00:52 -0700)
commiteaaaaa32882752f15fc0db1c73a1adbe34b49642
tree4316dbd75f296a7300481334492df69190b9ddce
parent87bf8b33b171a632f1d1aeb6bb7f266bd1697f4e
Fix buffer overflow with overlong identifiers

This was introduced by commit 32833930e32dc in 5.17.10.

$  ./perl -Ilib -e Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Identifier too long at -e line 1.
Segmentation fault: 11

(That was an amusing use of macro parentheses for the while condition,
at least while it lasted.)
t/comp/parser.t
toke.c