mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-13 13:17:36 +03:00
855818bd2b
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.
4 lines
100 B
Plaintext
4 lines
100 B
Plaintext
./test/errors/truncated-utf16.xml:1: parser error : Truncated multi-byte sequence at EOF
|
|
<d/>
|
|
^
|