[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-changes
Subject:    [Perl/perl5] ac0268: regcomp.c: Fix named sequences in (?[...])
From:       Karl Williamson <noreply () github ! com>
Date:       2020-04-26 13:19:34
Message-ID: Perl/perl5/push/refs/heads/smoke-me/khw-jdl/0f10b4-ac0268 () github ! com
[Download RAW message or body]

  Branch: refs/heads/smoke-me/khw-jdl
  Home:   https://github.com/Perl/perl5
  Commit: ac026860a0f2dc774ec7b0230d26ef3bc947cd40
      https://github.com/Perl/perl5/commit/ac026860a0f2dc774ec7b0230d26ef3bc947cd40
  Author: Karl Williamson <khw@cpan.org>
  Date:   2020-04-26 (Sun, 26 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic