------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1440
--- Comment #4 from Graycode <xgcode@???> 2014-02-10 18:17:59 ---
(In reply to comment #2)
> I cannot test your program on a Windows system, because I do not have one.
> However, on a 64-bit Linux system, it does not loop.
The expression compiles fine using pcretest in my Windows (32-bit).
Perhaps the author should have initialized string ErrPtr before printing
with it following a successful compile of the expression.
I don't remember whether PCRE touches ErrPtr when there's no error,
and wonder if the issue could involve the printf() vs. PCRE.
const char *ErrPtr;
int ErrOffset;
pcre *p = pcre_compile(szPattern, PCRE_UCP, &ErrPtr, &ErrOffset, NULL);
printf("0x%08X, '%s', %d\n", p, ErrPtr, ErrOffset);
Graycode
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email