Revision: 396
http://vcs.pcre.org/viewvc?view=rev&revision=396
Author: ph10
Date: 2009-03-20 11:23:20 +0000 (Fri, 20 Mar 2009)
Log Message:
-----------
Forgot to commit this one.
Modified Paths:
--------------
code/trunk/ChangeLog
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2009-03-20 11:22:42 UTC (rev 395)
+++ code/trunk/ChangeLog 2009-03-20 11:23:20 UTC (rev 396)
@@ -68,6 +68,13 @@
SUPPORT_UTF8 are set, give an error; (b) If SUPPORT_UCP is set without
SUPPORT_UTF8, define SUPPORT_UTF8. The "configure" script handles both of
these, but not everybody uses configure.
+
+19. A conditional group that had only one branch was not being correctly
+ recognized as an item that could match an empty string. This meant that an
+ enclosing group might also not be so recognized, causing infinite looping
+ (and probably a segfault) for patterns such as ^"((?(?=[a])[^"])|b)*"$
+ with the subject "ab", where knowledge that the repeated group can match
+ nothing is needed in order to break the loop.
Version 7.8 05-Sep-08