mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
If we try to continue parsing after an error in the internal or external subset, entity expansion accounting gets more complicated. Simply halt the parser. Found with libFuzzer.
12 lines
477 B
Plaintext
12 lines
477 B
Plaintext
./test/errors/content1.xml:7: parser error : ContentDecl : ',' '|' or ')' expected
|
|
<!ELEMENT aElement (a |b * >
|
|
^
|
|
./test/errors/content1.xml:7: parser error : expected '>'
|
|
<!ELEMENT aElement (a |b * >
|
|
^
|
|
./test/errors/content1.xml:7: parser error : internal error: xmlParseInternalSubset: error detected in Markup declaration
|
|
|
|
<!ELEMENT aElement (a |b * >
|
|
^
|
|
./test/errors/content1.xml : failed to parse
|