cpython/Modules
Miss Islington (bot) 7fc8507f3d
[3.13] gh-146613: Fix re-entrant use-after-free in itertools._grouper (GH-147962) (#148011)
gh-146613: Fix re-entrant use-after-free in `itertools._grouper` (GH-147962)
(cherry picked from commit fc7a188fe7)

Co-authored-by: Ma Yukun <68433685+TheSkyC@users.noreply.github.com>
2026-04-07 12:24:54 +02:00
..
_blake2
_ctypes [3.13] gh-144100: Fix crash for POINTER(str) used in ctypes argtypes (#144108) (#144245) 2026-01-27 12:59:55 +01:00
_decimal [3.13] gh-143331: Schedule to remove format "N" for Decimal (GH-143372) (#143477) 2026-01-06 14:02:32 +00:00
_hacl
_io [3.13] gh-144380: Fix incorrect type check in buffered_iternext() (GH-144381) (#144390) 2026-02-02 10:29:16 +00:00
_multiprocessing
_sqlite [3.13] gh-146090: fix memory management of internal sqlite3 callback contexts (GH-146569) (#146596) 2026-03-29 15:14:58 +02:00
_sre [3.13] gh-140979: Fix off-by-one error in the RE code validator (GH-140984) (GH-141000) 2025-11-04 18:16:40 +02:00
_ssl
_testcapi [3.13] gh-143050: Correct PyLong_FromString() to use _PyLong_Negate() (#145901) (#147437) 2026-03-31 17:06:38 +02:00
_testinternalcapi
_testlimitedcapi [3.13] gh-132657: add regression test for PySet_Contains with unhashable type (GH-141411) (#141467) 2025-11-12 21:12:18 +05:30
_xxtestfuzz
cjkcodecs [3.13] gh-101828: Fix jisx0213 codecs removing null characters (gh-139340) (gh-140112) 2025-10-14 14:48:29 +00:00
clinic [3.13] gh-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (GH-143699) (#145074) 2026-02-21 16:05:57 +01:00
expat [3.13] gh-146083: Upgrade bundled Expat to 2.7.5 (GH-146085) (#146604) 2026-03-29 18:50:07 +01:00
_abc.c
_asynciomodule.c [3.13] gh-146615: Fix format specifiers in extension modules (GH-146617) (GH-146652) (GH-146658) 2026-03-31 10:59:06 +00:00
_bisectmodule.c
_bz2module.c
_codecsmodule.c
_collectionsmodule.c [3.13] gh-145492: Fix defaultdict __repr__ infinite recursion (GH-145659) (GH-145746) 2026-03-12 10:45:43 +01:00
_contextvarsmodule.c
_csv.c [3.13] gh-146093: Fix csv _set_str(): check if PyUnicode_DecodeASCII() failed (GH-146113) (#146131) 2026-03-18 17:45:47 +00:00
_curses_panel.c
_cursesmodule.c [3.13] gh-137920: Fix semantically relevant typo in curses.window.attron (GH-137940) (GH-138507) 2025-10-07 22:22:18 +02:00
_datetimemodule.c
_dbmmodule.c
_elementtree.c [3.13] gh-143200: fix UAFs in Element.__{set,get}item__ when the element is concurrently mutated (GH-143226) (#143274) 2025-12-29 18:15:28 +00:00
_functoolsmodule.c [3.13] gh-144475: Fix reference management in partial_repr (GH-145362) (#145882) 2026-03-24 02:30:45 +01:00
_gdbmmodule.c [3.13] gh-140272: Fix memory leak in _gdbm.gdbm.clear() (GH-140274) (GH-140289) 2025-10-18 11:00:10 +00:00
_hashopenssl.c [3.13] gh-145301: Fix double-free in hashlib initialization (GH-145321) (GH-145532) 2026-03-10 14:59:37 +01:00
_heapqmodule.c
_interpchannelsmodule.c [3.13] gh-140652: Fix a crash in _interpchannels.list_all() after clo…sing a channel (GH-143743) (GH-144953) 2026-02-18 14:18:39 +00:00
_interpqueuesmodule.c [3.13] gh-140306: Fix memory leaks in cross-interpreter data handling (GH-140307) (GH-140357) 2025-10-20 10:13:15 +00:00
_interpreters_common.h
_interpretersmodule.c
_json.c [3.13] gh-143544: Fix possible use-after-free in the JSON decoder when JSONDecodeError disappears during raising it (GH-143561) (#143734) 2026-01-12 16:02:23 +00:00
_localemodule.c [3.13] Fix unlikely potential reference leak in _locale._getdefaultlocale (GH-145250) (GH-145303) 2026-03-24 02:18:19 +00:00
_lsprof.c
_lzmamodule.c
_math.h
_opcode.c
_operator.c
_pickle.c [3.13] gh-146059: Call fast_save_leave() in pickle save_frozenset() (GH-146173) (#146474) 2026-03-27 08:47:53 +00:00
_posixsubprocess.c [3.13] gh-141659: Fix bad file descriptor error in subprocess on AIX (GH-141660) (#141828) 2025-11-21 18:10:01 +00:00
_queuemodule.c [3.13] gh-145376: Fix refleak in queuemodule.c out-of-memory path (GH-145543) (#145621) 2026-03-08 13:32:39 +05:30
_randommodule.c [3.13] Fix a compiler warning in _randommodule.c (GH-141058) (#141064) 2025-11-05 19:08:41 +00:00
_scproxy.c
_ssl.c [3.13] gh-146615: Fix format specifiers in extension modules (GH-146617) (GH-146652) (GH-146658) 2026-03-31 10:59:06 +00:00
_ssl.h
_ssl_data_31.h
_ssl_data_111.h
_ssl_data_300.h
_stat.c
_statisticsmodule.c
_struct.c [3.13] gh-145633: Fix struct.pack('f') on s390x (#146422) (#146461) 2026-03-26 11:45:10 +00:00
_suggestions.c
_sysconfig.c
_testbuffer.c
_testcapi_feature_macros.inc
_testcapimodule.c [3.13] gh-146615: Fix format specifiers in test cextensions (GH-146618) (GH-146653) 2026-03-31 08:38:59 +00:00
_testclinic.c
_testclinic_limited.c
_testexternalinspection.c
_testimportmultiple.c
_testinternalcapi.c [3.13] gh-146615: Fix format specifiers in test cextensions (GH-146618) (GH-146653) 2026-03-31 08:38:59 +00:00
_testlimitedcapi.c
_testmultiphase.c
_testsinglephase.c [3.13] gh-144601: Avoid sharing exception objects raised in a PyInit function across multiple interpreters (GH-144602) (GH-144880) 2026-02-16 16:05:55 +00:00
_threadmodule.c
_tkinter.c [3.13] gh-143310: fix crash in Tcl object conversion with concurrent mutations (GH-143321) (#143344) 2026-01-02 10:12:57 +00:00
_tracemalloc.c
_typingmodule.c
_uuidmodule.c
_weakref.c
_winapi.c
_zoneinfo.c [3.13] gh-145883: Fix two heap-buffer-overflows in _zoneinfo (GH-145885) (#148086) 2026-04-04 17:14:19 +01:00
addrinfo.h
arraymodule.c [3.13] gh-142555: Fix null pointer dereference in array.__setitem__ via re-entrant __index__ (GH-142713) (#144397) 2026-02-02 21:06:59 +01:00
atexitmodule.c [3.13] gh-142881: Fix concurrent and reentrant call of atexit.unregister() (GH-142901) (GH-143722) 2026-01-12 10:05:09 +00:00
binascii.c [3.13] gh-145264: Do not ignore excess Base64 data after the first padded quad (GH-145267) (GH-146326) (GH-146348) 2026-03-24 00:52:20 +01:00
cmathmodule.c
config.c.in
errnomodule.c
faulthandler.c
fcntlmodule.c [3.13] gh-140615: Update docstrings in the fcntl module (GH-140619) (GH-141231) (GH-141232) 2025-11-08 11:50:17 +00:00
gc_weakref.txt
gcmodule.c
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c
getpath.py
getpath_noop.c
grpmodule.c
hashlib.h
itertoolsmodule.c [3.13] gh-146613: Fix re-entrant use-after-free in itertools._grouper (GH-147962) (#148011) 2026-04-07 12:24:54 +02:00
ld_so_aix.in
main.c
makesetup
makexp_aix
mathmodule.c
md5module.c [3.13] gh-145376: Fix crashes in md5module.c (GH-145422) (#145611) 2026-03-06 22:24:20 +00:00
mmapmodule.c
overlapped.c [3.13] gh-143249: Fix buffer leak when overlapped operation fails to start on windows (GH-143250) (#143796) 2026-01-13 13:53:41 +00:00
posixmodule.c [3.13] gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145432) 2026-03-02 18:32:29 +00:00
posixmodule.h
pwdmodule.c
pyexpat.c [3.13] gh-144984: Fix crash in Expat's ExternalEntityParserCreate error paths (GH-144992) (#146142) 2026-04-07 12:22:22 +02:00
readline.c [3.13] gh-122431: Correct the non-negative error message in readline.append_history_file (GH-143075) (GH-143091) 2025-12-23 04:59:43 +00:00
README
resource.c
rotatingtree.c
rotatingtree.h
selectmodule.c
Setup
Setup.bootstrap.in
Setup.stdlib.in
sha1module.c
sha2module.c
sha3module.c
signalmodule.c
socketmodule.c [3.13] gh-144837: Improve documentation for more collection methods (GH-144841) (GH-146484) 2026-03-26 19:52:07 +00:00
socketmodule.h
symtablemodule.c [3.13] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139792) 2025-10-08 22:21:49 +05:30
syslogmodule.c
termios.c
timemodule.c
tkappinit.c
tkinter.h
unicodedata.c [3.13] gh-88091: Fix unicodedata.decomposition() for Hangul Syllables (GH-144993) (GH-145190) 2026-02-25 00:27:40 +02:00
unicodedata_db.h
unicodename_db.h [3.13] gh-80667: Fix lookup for Tangut ideographs in unicodedata (GH-144789) (GH-144871) (GH-144875) 2026-02-16 15:02:01 +00:00
winreparse.h
xxlimited.c
xxlimited_35.c
xxmodule.c
xxsubtype.c
zlibmodule.c

Source files for standard library extension modules,
and former extension modules that are now builtin modules.