mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
Don't set the "checked" flag when checking entities in default attribute values. These entities could reference other entities which weren't defined yet, so the check isn't reliable. This fixes a short-lived regression which could lead to a call stack overflow later in xmlStringGetNodeList.
8 lines
304 B
Plaintext
8 lines
304 B
Plaintext
./test/errors/rec_att_default.xml:3: parser error : Entity 'b' not defined
|
|
<!ATTLIST x y CDATA "&a;">
|
|
^
|
|
./test/errors/rec_att_default.xml:6: parser error : Detected an entity reference loop
|
|
<doc attr="&a;"/>
|
|
^
|
|
./test/errors/rec_att_default.xml : failed to parse
|