Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-90949: expose Expat API to tune exponential expansion protections#139368
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
bba2678363bcbc501ef0e197dfa797344586c2eab73ec2ebdFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Add :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold` | ||
| and :meth:`~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification` | ||
| to :ref:`xmlparser <xmlparser-objects>` objects to prevent use of | ||
| disproportional amounts of dynamic memory from within an Expat parser. | ||
| to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against | ||
| disproportional amounts of dynamic memory usage from within an Expat parser. | ||
| Patch by Bénédikt Tran. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| Add | ||
| :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionActivationThreshold` | ||
| and | ||
| :meth:`~xml.parsers.expat.xmlparser.SetBillionLaughsAttackProtectionMaximumAmplification` | ||
| to :ref:`xmlparser <xmlparser-objects>` objects to tune protections against | ||
| `billion laughs <https://en.wikipedia.org/wiki/Billion_laughs_attack>`_ attacks. | ||
| Patch by Bénédikt Tran. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.