This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Create fail-safe for reading out of bounds
authorKarl Williamson <khw@cpan.org>
Mon, 26 Aug 2019 22:15:38 +0000 (16:15 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 23 Oct 2019 11:39:33 +0000 (05:39 -0600)
commit5d894ca5213a852cb764a9c7d17b0cd7295597ea
tree2251db0b2ca4535cc8de237b8e7031bd61383cf6
parent8b894f6bba1390786ae217160eebdb78945a353a
regcomp.c: Create fail-safe for reading out of bounds

It shouldn't happen that the pointer passed to this macro causes
out-of-bound reads, but there have been problems with this area in the
past, and we know the bounds for this non-time-critical function, so it
is a simple matter to make sure.
regcomp.c