summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfdrake <fdrake>2006-07-01 15:30:37 +0000
committerfdrake <fdrake>2006-07-01 15:30:37 +0000
commitff873b01468af7910d7695c033784ed40ac01d49 (patch)
tree00b1d660c19447c452593f43df6692aa6bad6846 /lib
parent017a4cbd7ee2aeb22a3e1c41f0f6f85917613ca6 (diff)
downloadlibexpat-ff873b01468af7910d7695c033784ed40ac01d49.tar.gz
SF bug #1515266: as noted, suspending the parser has the same problem that
the abort code has; added a check and regression test or that
Diffstat (limited to 'lib')
-rw-r--r--lib/xmlparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlparse.c b/lib/xmlparse.c
index 10236fa..5df6464 100644
--- a/lib/xmlparse.c
+++ b/lib/xmlparse.c
@@ -2555,7 +2555,7 @@ doContent(XML_Parser parser,
(int)(dataPtr - (ICHAR *)dataBuf));
if (s == next)
break;
- if (ps_parsing == XML_FINISHED)
+ if (ps_parsing == XML_FINISHED || ps_parsing == XML_SUSPENDED)
break;
*eventPP = s;
}