Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 42fd8c63c3c0d56c51300f428529223f7a34d1d2
      
https://github.com/Perl/perl5/commit/42fd8c63c3c0d56c51300f428529223f7a34d1d2
  Author: Karl Williamson <k...@cpan.org>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M pod/perldiag.pod
    M regcomp.c
    M t/re/reg_mesg.t

  Log Message:
  -----------
  regcomp.c: Fix named sequences in (?[...])

The regex_sets feature cannot yet handle named sequences possibly
returned by \p{name=...}.  I forgot to check for this possibility which
led to a null pointer dereference.  Also, the called function was
returning success when it should have failed in this circumstance.

This fixes #17732


  Commit: a964bf354ede905cf62ebdd20fb08b8f6eaa137c
      
https://github.com/Perl/perl5/commit/a964bf354ede905cf62ebdd20fb08b8f6eaa137c
  Author: Karl Williamson <k...@cpan.org>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c: Add assert

The code's proper functioning currently depends on bracketed character
classes not returning a sequence of characters to the regex sets feature
(?[...])

Add an assert to validate that.


Compare: https://github.com/Perl/perl5/compare/07b232400045...a964bf354ede

Reply via email to