xmllite: Update current pointer after reader_skipn call.

The buffer may be reallocated.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2019-11-05 23:01:47 +01:00 committed by Alexandre Julliard
parent 051a8ddd04
commit 950d960eed
1 changed files with 1 additions and 1 deletions

View File

@ -2438,7 +2438,7 @@ static HRESULT reader_parse_cdata(xmlreader *reader)
else
{
reader_skipn(reader, 1);
ptr++;
ptr = reader_get_ptr(reader);
}
}