mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-14 13:58:27 +03:00
899a5d9f0e
When expanding a parameter entity in a DTD, infinite recursion could lead to an infinite loop or memory exhaustion. Thanks to Wei Lei for the first of many reports. Fixes bug 759579.
12 lines
300 B
XML
12 lines
300 B
XML
<!DOCTYPE doc [
|
|
<!ENTITY % z '
|
|
%z; %z; %z; %z; %z;
|
|
%z; %z; %z; %z; %z;
|
|
%z; %z; %z; %z; %z;
|
|
%z; %z; %z; %z; %z;
|
|
%z; %z; %z; %z; %z;
|
|
'>
|
|
%z;
|
|
]>
|
|
<doc/>
|