From 8b06ea863d07ccc0a41ed0d81cd3cd7957b7cc77 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Tue, 2 Jan 2018 16:27:10 -0800 Subject: [PATCH] minixml: Fix parsing error with extra whitespace If there is extra whitespace, the iterator would not get moved properly resulting in incomplete data. --- minixml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minixml.c b/minixml.c index 2fed4a1..bf3fc0f 100644 --- a/minixml.c +++ b/minixml.c @@ -143,7 +143,7 @@ void parseelt(struct xmlparser * p) return; while( IS_WHITE_SPACE(*p->xml) ) { - p->xml++; + i++; p->xml++; if (p->xml >= p->xmlend) return; }