diff options
| author | 2016-11-13 03:22:10 +0100 | |
|---|---|---|
| committer | 2016-11-13 03:22:10 +0100 | |
| commit | f1f2bcebc8690c9b420288aeede2e52c5bf18ccd (patch) | |
| tree | 03d4a9dbe63c8c6b79035fbdd9d2e19a4be61a1c /src/xplist.c | |
| parent | 659b81e040604bc6fd1d00e6806614ac3897df52 (diff) | |
| download | libplist-f1f2bcebc8690c9b420288aeede2e52c5bf18ccd.tar.gz libplist-f1f2bcebc8690c9b420288aeede2e52c5bf18ccd.tar.bz2 | |
xplist: Don't parse XML reserved characters in CDATA blocks
Diffstat (limited to 'src/xplist.c')
| -rw-r--r-- | src/xplist.c | 1 |
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 | |||
| 478 | } | 478 | } |
| 479 | q = ctx->pos; | 479 | q = ctx->pos; |
| 480 | ctx->pos+=3; | 480 | ctx->pos+=3; |
| 481 | unescape_entities = 0; | ||
| 481 | } | 482 | } |
| 482 | find_char(ctx, '<', 0); | 483 | find_char(ctx, '<', 0); |
| 483 | if (*ctx->pos != '<') { | 484 | if (*ctx->pos != '<') { |
