This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Don't read beyond input
authorKarl Williamson <public@khwilliamson.com>
Tue, 29 Nov 2011 21:57:02 +0000 (14:57 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 13 Jan 2012 16:58:36 +0000 (09:58 -0700)
commitd224c965bbb987748bb2d86228f9b5b7f5db9b80
treec18d71abde60f664ece37e6bb9822b34f5f10293
parent88d45d285bee142b4f37f62d7260e24504d371e5
regcomp.c: Don't read beyond input

This code was assuming that there were several more bytes in the input
stream, when there may not be.  This was discovered by valgrind.
regcomp.c