GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||
GeezerVison is showing github.com — gh-61441: XML entity expansion limitation by tiran · Pull Request #9265 · python/cpython Conversation
|
|
I would prefer to see this change made in expat upstream. We should vendor an unmodified version of expat. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That's the plan. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
a172a25 to
053db1d
Compare
|
Since we ship the vendored one as part of the Windows release, I'd be happy to have this merged for 3.7.1 while we wait for the patch to go upstream. This is not our public API, so even if they upstream a different version of it, that won't affect us. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6a51752 to
2cffc90
Compare
Modelled after https://github.com/GNOME/libxml2/blob/v2.9.8/parser.c#L99 Signed-off-by: Christian Heimes <[email protected]>
2cffc90 to
504e092
Compare
|
@tiran maybe we could close this issue, +- 1y and I suppose |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tiran Is the PR still relevant? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| typedef struct { | ||
| ENTITY *first_entity; | ||
| unsigned int entitiesNestingLevel; | ||
| size_t nestedEntitiesExpansionSize; /* in bytes, not XML_Cha) */ |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| size_t nestedEntitiesExpansionSize; /* in bytes, not XML_Cha) */ | |
| size_t nestedEntitiesExpansionSize; /* in bytes, not XML_Char */ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
closing as external entity expansion was disabled in sax other PRs (see issue) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.