diff options
Diffstat (limited to 'src/xplist.c')
| -rw-r--r-- | src/xplist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xplist.c b/src/xplist.c index f73b12d..7cee6de 100644 --- a/src/xplist.c +++ b/src/xplist.c | |||
| @@ -469,6 +469,10 @@ static void find_next(parse_ctx ctx, const char *nextchars, int numchars, int sk | |||
| 469 | if (skip_quotes && (*(ctx->pos) == '"')) { | 469 | if (skip_quotes && (*(ctx->pos) == '"')) { |
| 470 | ctx->pos++; | 470 | ctx->pos++; |
| 471 | find_char(ctx, '"', 0); | 471 | find_char(ctx, '"', 0); |
| 472 | if (ctx->pos >= ctx->end) { | ||
| 473 | PLIST_XML_ERR("EOF while looking for matching double quote\n"); | ||
| 474 | return; | ||
| 475 | } | ||
| 472 | if (*(ctx->pos) != '"') { | 476 | if (*(ctx->pos) != '"') { |
| 473 | PLIST_XML_ERR("Unmatched double quote\n"); | 477 | PLIST_XML_ERR("Unmatched double quote\n"); |
| 474 | return; | 478 | return; |
