This website requires JavaScript.
Explore
Help
Register
Sign In
c
/
libxml2
Watch
1
Star
0
Fork
0
You've already forked libxml2
mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced
2025-03-28 21:33:13 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
libxml2
/
test
/
errors
/
754946.xml
5 lines
78 B
XML
Raw
Normal View
History
Unescape
Escape
Rework entity boundary checks Make sure to finish all entities in the internal subset. Nevertheless, readd a sanity check in xmlParseStartTag2 that was lost in my previous commit. Also add a sanity check in xmlPopInput. Popping an input unexpectedly was the source of many recent memory bugs. The check doesn't mitigate such issues but helps with diagnosis. Always base entity boundary checks on the input ID, not the input pointer. The pointer could have been reallocated to the old address. Always throw a well-formedness error if a boundary check fails. In a few places, a validity error was thrown. Fix a few error codes and improve indentation.
2017-06-12 14:32:34 +02:00
<
!DOCTYPE A [
<!ENTITY % SYSTEM "A<lbbbbbbbbbbbbbbbbbbb_">
%SYSTEM;
<
![
Reference in New Issue
Copy Permalink