mirror of
https://github.com/GNOME/libxml2.git
synced 2025-05-08 21:07:54 +08:00

test/HTML/758518-entity.html exposed a bug in pushParseTest() in runtest.c which assumed that an input file was at least 4 bytes long. That test case is only 3 bytes, so we now take the minimum of 4 bytes or the length of the test input. We also now use 'chunkSize' in place of the hard-coded value '1024' later in the function.
4 lines
95 B
Plaintext
4 lines
95 B
Plaintext
./test/HTML/758518-entity.html:1: HTML parser error : htmlParseEntityRef: expecting ';'
|
|
Ù
|
|
^
|