mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
When decoding input data, check whether the "raw" buffer is empty after parsing the document. Otherwise, the input ends with a truncated multi-byte sequence which shouldn't be silently ignored.
5 lines
152 B
Plaintext
5 lines
152 B
Plaintext
./test/errors/truncated-utf16.xml:1: parser error : Truncated multi-byte sequence at EOF
|
|
<d/>
|
|
^
|
|
./test/errors/truncated-utf16.xml : failed to parse
|