summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-09-09 08:38:09 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-09-09 08:38:09 +0000
commit05c13a20b9ac8153adb9158359e2aa09bfe965d0 (patch)
treef98f71e46d070bd5b9a5fcb8566b578e18a38059 /entities.c
parent5eb9dea8be2fcf18fee419ee740b09e405a61efd (diff)
downloadlibxml2-05c13a20b9ac8153adb9158359e2aa09bfe965d0.tar.gz
John Fleck fixed typos in the options output fix ignorable white space SAX
* xmllint.c: John Fleck fixed typos in the options output * parser.c SAX.c: fix ignorable white space SAX selection * entities.c: Steve Underwood found the possibility of an ininite loop in case of error. Daniel
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/entities.c b/entities.c
index 1d0700d9..afa871b6 100644
--- a/entities.c
+++ b/entities.c
@@ -669,6 +669,7 @@ xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) {
buf[sizeof(buf) - 1] = 0;
ptr = buf;
while (*ptr != 0) *out++ = *ptr++;
+ cur++;
continue;
} else if (*cur < 0xE0) {
val = (cur[0]) & 0x1F;