This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RT #96354: \h \H \v and \V didn't check for EOL
authorDavid Mitchell <davem@iabyn.com>
Fri, 5 Aug 2011 16:46:46 +0000 (17:46 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 5 Aug 2011 16:49:51 +0000 (17:49 +0100)
commit1380b51d3b2bb6a067c4a2a3eebbe18650487023
tree77a135c7c65673512544b1487c9b525bc05833a1
parent203979cd3f6e5fc2c4039fbd225bbbc4c1bb8f84
RT #96354: \h \H \v and \V didn't check for EOL

The HORIZWS and similar regexp ops didn't check that the end of the string
had been reached; therefore they would blithely compare against the \0 at
the end of the string, or beyond.
regexec.c
t/re/re_tests