mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods: - `xml.etree.ElementTree.XMLParser.flush` - `xml.etree.ElementTree.XMLPullParser.flush` - `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled` - `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled` - `xml.sax.expatreader.ExpatParser.flush` Based on the "flush" idea from #115138 (comment) . - Please treat as a security fix related to CVE-2023-52425. (cherry picked from commit |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _exceptions.py | ||
| expatreader.py | ||
| handler.py | ||
| saxutils.py | ||
| xmlreader.py | ||