This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Add assertion
authorKarl Williamson <public@khwilliamson.com>
Wed, 28 Sep 2011 04:18:20 +0000 (22:18 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sat, 1 Oct 2011 15:15:32 +0000 (09:15 -0600)
commit32f89ef61d006e06f334c5a094e4ef398f4fcdbb
tree5744878a702e874f9e42671bf5766ab03f03cf57
parent507a8485b8808f21cd35d0d4d190f33367d3773a
regcomp.c: Add assertion

This is to guard against misuse of the functions.  There is no guard
currently in the underlying Perl functions to lengthening a string
beyond the capacity to hold it.
regcomp.c