mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-29 23:42:18 +03:00
Null bytes in the input stream do not necessarily signal an EOF condition. Check the stream pointers for EOF to avoid quadratic rescanning of input data. Note that the CUR_CHAR macro used in functions like htmlParseCharData calls htmlCurrentChar which translates null bytes. Found by OSS-Fuzz.
205 KiB
205 KiB