From 950d960eed4faeec6c8d482b0fb6ca903feced93 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 5 Nov 2019 23:01:47 +0100 Subject: [PATCH] xmllite: Update current pointer after reader_skipn call. The buffer may be reallocated. Signed-off-by: Jacek Caban Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/xmllite/reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c index e813ca37fed..eddc4d8eec0 100644 --- a/dlls/xmllite/reader.c +++ b/dlls/xmllite/reader.c @@ -2438,7 +2438,7 @@ static HRESULT reader_parse_cdata(xmlreader *reader) else { reader_skipn(reader, 1); - ptr++; + ptr = reader_get_ptr(reader); } }