summaryrefslogtreecommitdiff
path: root/result
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-12-23 21:29:28 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-12-23 22:11:18 +0100
commita41b09c739db9cfc25e4c7172c3e1ebe5d9f6d82 (patch)
tree6a729058c5801bccd6af78922eaccbf6ff1e61e5 /result
parentd972393f308aef179532a4814931345e8242f833 (diff)
downloadlibxml2-a41b09c739db9cfc25e4c7172c3e1ebe5d9f6d82.tar.gz
parser: Improve detection of entity loops
Set a flag to detect entity loops at once instead of processing until the depth limit is exceeded.
Diffstat (limited to 'result')
-rw-r--r--result/errors/759579.xml.ent6
-rw-r--r--result/errors/759579.xml.err6
-rw-r--r--result/errors/759579.xml.str6
3 files changed, 9 insertions, 9 deletions
diff --git a/result/errors/759579.xml.ent b/result/errors/759579.xml.ent
index 288026e6..dd0e68a0 100644
--- a/result/errors/759579.xml.ent
+++ b/result/errors/759579.xml.ent
@@ -1,6 +1,6 @@
-Entity: line 2: parser error : Detected an entity reference loop
- %z; %z; %z; %z; %z;
- ^
+./test/errors/759579.xml:9: parser error : Detected an entity reference loop
+ %z;
+ ^
Entity: line 2:
%z; %z; %z; %z; %z;
^
diff --git a/result/errors/759579.xml.err b/result/errors/759579.xml.err
index 288026e6..dd0e68a0 100644
--- a/result/errors/759579.xml.err
+++ b/result/errors/759579.xml.err
@@ -1,6 +1,6 @@
-Entity: line 2: parser error : Detected an entity reference loop
- %z; %z; %z; %z; %z;
- ^
+./test/errors/759579.xml:9: parser error : Detected an entity reference loop
+ %z;
+ ^
Entity: line 2:
%z; %z; %z; %z; %z;
^
diff --git a/result/errors/759579.xml.str b/result/errors/759579.xml.str
index 09408f52..e9a929ce 100644
--- a/result/errors/759579.xml.str
+++ b/result/errors/759579.xml.str
@@ -1,6 +1,6 @@
-Entity: line 2: parser error : Detected an entity reference loop
- %z; %z; %z; %z; %z;
- ^
+./test/errors/759579.xml:9: parser error : Detected an entity reference loop
+ %z;
+ ^
Entity: line 2:
%z; %z; %z; %z; %z;
^