https://bugs.exim.org/show_bug.cgi?id=2300
Philip Hazel <ph10@???> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Philip Hazel <ph10@???> ---
It turns out to be a one-line patch (Zoltan, this was your code, is this the
right patch?). I have committed this patch to both PCRE1 and PCRE2.
Index: pcre_compile.c
===================================================================
--- pcre_compile.c (revision 1737)
+++ pcre_compile.c (working copy)
@@ -3299,7 +3299,7 @@
if ((*xclass_flags & XCL_MAP) == 0)
{
/* No bits are set for characters < 256. */
- if (list[1] == 0) return TRUE;
+ if (list[1] == 0) return (*xclass_flags & XCL_NOT) == 0;
/* Might be an empty repeat. */
continue;
}
--
You are receiving this mail because:
You are on the CC list for the bug.