summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-11-13 03:22:10 +0100
committerGravatar Nikias Bassen2016-11-13 03:22:10 +0100
commitf1f2bcebc8690c9b420288aeede2e52c5bf18ccd (patch)
tree03d4a9dbe63c8c6b79035fbdd9d2e19a4be61a1c /src
parent659b81e040604bc6fd1d00e6806614ac3897df52 (diff)
downloadlibplist-f1f2bcebc8690c9b420288aeede2e52c5bf18ccd.tar.gz
libplist-f1f2bcebc8690c9b420288aeede2e52c5bf18ccd.tar.bz2
xplist: Don't parse XML reserved characters in CDATA blocks
Diffstat (limited to 'src')
-rw-r--r--src/xplist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xplist.c b/src/xplist.c
index e4eb56a..0cb891c 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -478,6 +478,7 @@ static char* get_text_content(parse_ctx ctx, const char* tag, int skip_ws, int u
}
q = ctx->pos;
ctx->pos+=3;
+ unescape_entities = 0;
}
find_char(ctx, '<', 0);
if (*ctx->pos != '<') {