This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix edge case in pp_eof where the stack extent was not checked.
authorNicholas Clark <nick@ccl4.org>
Sat, 12 Jun 2010 20:13:14 +0000 (21:13 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 12 Jun 2010 20:13:14 +0000 (21:13 +0100)
commitb5f55170e8ef2a91497f68ff0af6ff6cded9f433
tree0640d1a7671487619abf2f0a4a95c8118ed8b8c5
parentac3697cd90b00fae88e4f19931af920bc552e2b8
Fix edge case in pp_eof where the stack extent was not checked.

Analogous to pp_getc and pp_tell in ac3697cd90b00fae, pp_eof has a conditional
POP from the stack, but an unconditional PUSH to the stack, but no check that
the stack had space for the PUSH. This bug has been present since perl 5.000.
pp_sys.c