Skip to content

Commit 3dcd9bd

Browse files
committed
NEWS
1 parent 1d7e599 commit 3dcd9bd

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,16 @@ unittest
518518
(Contributed by Garry Cairns in :gh:`134567`.)
519519

520520

521+
xml.parsers.expat
522+
-----------------
523+
524+
* Add :func:`~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification`
525+
and :func:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold`
526+
to :class:`~xml.parsers.expat.xmlparser` objects to prevent use of
527+
disproportional amounts of dynamic memory from within an Expat parser.
528+
(Contributed by Bénédikt Tran in :gh:`90949`.)
529+
530+
521531
zlib
522532
----
523533

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Add :func:`~xml.parsers.expat.xmlparser.SetAllocTrackerMaximumAmplification`
2+
and :func:`~xml.parsers.expat.xmlparser.SetAllocTrackerActivationThreshold`
3+
to :class:`~xml.parsers.expat.xmlparser` objects to prevent use of
4+
disproportional amounts of dynamic memory from within an Expat parser. Patch
5+
by Bénédikt Tran.

0 commit comments

Comments
 (0)