Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-61441: XML entity expansion limitation #9265

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tiran
Copy link
Member

@tiran tiran commented Sep 13, 2018

@vstinner
Copy link
Member

I would prefer to see this change made in expat upstream. We should vendor an unmodified version of expat.

@tiran
Copy link
Member Author

tiran commented Sep 13, 2018

That's the plan.

@vstinner vstinner changed the title bpo-17239: XML entity expansion limitation [WIP] bpo-17239: XML entity expansion limitation Sep 13, 2018
@tiran tiran force-pushed the bpo17239-expat-limit branch from a172a25 to 053db1d Compare September 14, 2018 17:17
@zooba
Copy link
Member

zooba commented Sep 17, 2018

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.

@tiran tiran force-pushed the bpo17239-expat-limit branch 4 times, most recently from 6a51752 to 2cffc90 Compare September 20, 2018 11:30
@tiran tiran force-pushed the bpo17239-expat-limit branch from 2cffc90 to 504e092 Compare September 23, 2018 11:54
@matrixise
Copy link
Member

@tiran maybe we could close this issue, +- 1y and I suppose expat has been updated.

@arhadthedev
Copy link
Member

@tiran Is the PR still relevant?

typedef struct {
ENTITY *first_entity;
unsigned int entitiesNestingLevel;
size_t nestedEntitiesExpansionSize; /* in bytes, not XML_Cha) */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
size_t nestedEntitiesExpansionSize; /* in bytes, not XML_Cha) */
size_t nestedEntitiesExpansionSize; /* in bytes, not XML_Char */

@erlend-aasland erlend-aasland changed the title [WIP] bpo-17239: XML entity expansion limitation gh-61441: XML entity expansion limitation Jan 4, 2024
@erlend-aasland erlend-aasland marked this pull request as draft January 4, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants