------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1377
Philip Hazel <ph10@???> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Philip Hazel <ph10@???> 2013-08-05 17:26:16 ---
This bug was uncovered by a change that allowed for matching empty strings. I
have committed a patch that fixes it, namely, this one-character patch:
--- pcregrep.c (revision 1340)
+++ pcregrep.c (working copy)
@@ -1835,7 +1835,7 @@
{
char *endmatch = ptr + offsets[1];
t = ptr;
- while (t < endmatch)
+ while (t <= endmatch)
{
t = end_of_line(t, endptr, &endlinelength);
if (t < endmatch) linenumber++; else break;
Thanks for the report.
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email