mirror of https://github.com/python/cpython.git
200762426b
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 https://github.com/python/cpython/pull/115138#issuecomment-1932444270 . Includes code suggested-by: Snild Dolkow <snild@sony.com> and by core dev Serhiy Storchaka. Co-authored-by: Gregory P. Smith <greg@krypto.org> |
||
---|---|---|
.. | ||
_abc.c.h | ||
_asynciomodule.c.h | ||
_bisectmodule.c.h | ||
_bz2module.c.h | ||
_codecsmodule.c.h | ||
_collectionsmodule.c.h | ||
_contextvarsmodule.c.h | ||
_cryptmodule.c.h | ||
_curses_panel.c.h | ||
_cursesmodule.c.h | ||
_datetimemodule.c.h | ||
_dbmmodule.c.h | ||
_elementtree.c.h | ||
_gdbmmodule.c.h | ||
_hashopenssl.c.h | ||
_heapqmodule.c.h | ||
_lzmamodule.c.h | ||
_opcode.c.h | ||
_operator.c.h | ||
_pickle.c.h | ||
_queuemodule.c.h | ||
_randommodule.c.h | ||
_sre.c.h | ||
_ssl.c.h | ||
_statisticsmodule.c.h | ||
_struct.c.h | ||
_testmultiphase.c.h | ||
_tkinter.c.h | ||
_tracemalloc.c.h | ||
_weakref.c.h | ||
_winapi.c.h | ||
arraymodule.c.h | ||
audioop.c.h | ||
binascii.c.h | ||
cmathmodule.c.h | ||
fcntlmodule.c.h | ||
gcmodule.c.h | ||
grpmodule.c.h | ||
itertoolsmodule.c.h | ||
mathmodule.c.h | ||
md5module.c.h | ||
posixmodule.c.h | ||
pwdmodule.c.h | ||
pyexpat.c.h | ||
resource.c.h | ||
selectmodule.c.h | ||
sha1module.c.h | ||
sha256module.c.h | ||
sha512module.c.h | ||
signalmodule.c.h | ||
spwdmodule.c.h | ||
symtablemodule.c.h | ||
unicodedata.c.h | ||
zlibmodule.c.h |