libxml2 r3744 - trunk
- From: veillard svn gnome org
- To: svn-commits-list gnome org
- Subject: libxml2 r3744 - trunk
- Date: Mon, 12 May 2008 14:15:36 +0100 (BST)
Author: veillard
Date: Mon May 12 13:15:35 2008
New Revision: 3744
URL: http://svn.gnome.org/viewvc/libxml2?rev=3744&view=rev
Log:
* xmlregexp.c: avoid a regexp crash, should fix #523738
Daniel
Modified:
trunk/ChangeLog
trunk/xmlregexp.c
Modified: trunk/xmlregexp.c
==============================================================================
--- trunk/xmlregexp.c (original)
+++ trunk/xmlregexp.c Mon May 12 13:15:35 2008
@@ -3162,7 +3162,8 @@
exec->counts = NULL;
while ((exec->status == 0) &&
((exec->inputString[exec->index] != 0) ||
- (exec->state->type != XML_REGEXP_FINAL_STATE))) {
+ ((exec->state != NULL) &&
+ (exec->state->type != XML_REGEXP_FINAL_STATE)))) {
xmlRegTransPtr trans;
xmlRegAtomPtr atom;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]