mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
Add test cases for bug 758518
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.
This commit is contained in:
committed by
Nick Wellnhofer
parent
ed48d65b4d
commit
85c112a082
1
test/HTML/758518-entity.html
Normal file
1
test/HTML/758518-entity.html
Normal file
@@ -0,0 +1 @@
|
||||
&j<EFBFBD>
|
||||
Reference in New Issue
Block a user