GNU bug report logs - #62983
workaround PCRE2 bug affecting at least \D and \W

Previous Next

Package: grep;

Reported by: Carlo Marcelo Arenas Belón <carenas <at> gmail.com>

Date: Fri, 21 Apr 2023 02:05:01 UTC

Severity: normal

Full log


Message #26 received at 62983 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>,
 Carlo Marcelo Arenas Belón <carenas <at> gmail.com>
Cc: 62983 <at> debbugs.gnu.org
Subject: Re: bug#62983: workaround PCRE2 bug affecting at least \D and \W
Date: Sat, 29 Apr 2023 18:15:05 -0700
[Message part 1 (text/plain, inline)]
On 2023-04-28 23:54, Jim Meyering wrote:
> I've made some small adjustments and tidied up the ChangeLog in the attached.

One question about that patch (both original and as revised). Why do we 
need a new binary_safe slot in struct pcre_comp? Shouldn't the 
binary_safe stuff be done at compile-time rather than run-time?

Proposed revised patch attached. It also tweaks commentary slightly, and 
uses a more uniform style in the test comments (something like what 
Carlo suggested, but a bit wordier since it names the characters).
[0001-pcre-work-around-a-PCRE2_MATCH_INVALID_UTF-bug.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.