diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-11 16:32:18 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-11 16:32:18 +0100 |
commit | 4f40df3788165a137bc60bb6c0fd96af0c248c35 (patch) | |
tree | c46e918943264da9b9281b8502fa0f6f1289f890 | |
parent | 07785ee64d1e750235d0ae47241049b64ed66528 (diff) |
xml: fix parsing of cdata when a handler is unset
-rw-r--r-- | xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -181,6 +181,7 @@ xml_parsecdata(XMLParser *x) if (x->xmlcdata) for (; i > 0; i--) x->xmlcdata(x, "]", 1); + i = 0; } if (datalen < sizeof(x->data) - 1) { |