Permalink
Show file tree
Hide file tree
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Detect infinite recursion in parameter entities
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.
- Loading branch information
Showing
5 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| Entity: line 2: parser error : Detected an entity reference loop | ||
| %z; %z; %z; %z; %z; | ||
| ^ | ||
| Entity: line 2: | ||
| %z; %z; %z; %z; %z; | ||
| ^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| Entity: line 2: parser error : Detected an entity reference loop | ||
| %z; %z; %z; %z; %z; | ||
| ^ | ||
| Entity: line 2: | ||
| %z; %z; %z; %z; %z; | ||
| ^ | ||
| ./test/errors/759579.xml : failed to parse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <!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/> |
899a5d9There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per
https://security-tracker.debian.org/tracker/CVE-2017-16932
"Applying only 899a5d9 does not completely"
Please let know any other code modification related to this CVE.