This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix #131649 - extended charclass can trigger assert
authorYves Orton <demerphq@gmail.com>
Mon, 26 Jun 2017 11:19:55 +0000 (13:19 +0200)
committerYves Orton <demerphq@gmail.com>
Thu, 7 Dec 2017 19:09:35 +0000 (20:09 +0100)
commit19a498a461d7c81ae3507c450953d1148efecf4f
tree9e78c7f8c6471d1e99e3188b7e2f2e2a00c758ee
parentaf05e4c0b428a803fcdb60c956b1da7ff8a95926
fix #131649 - extended charclass can trigger assert

The extended charclass parser makes some assumptions during the
first pass which are only true on well structured input, and it
does not properly catch various errors. later on the code assumes
that things the first pass will let through are valid, when in
fact they should trigger errors.
pod/perldiag.pod
pod/perlrecharclass.pod
regcomp.c
t/lib/warnings/regcomp
t/re/reg_mesg.t
t/re/regex_sets.t