Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Umbrella issue: bugs found using cpython-review-toolkit #146102

Open
8 of 13 issues completed
Open
8 of 13 issues completed
Labels
extension-modulesC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dump
@devdanzin

Description

@devdanzin

Bug report

What happened?

This is an umbrella issue for 50 select bugs found usingcpython-review-toolkit, distributed across ~350K lines of CPython C code (Modules/, Objects/, Python/).

Feel free to work on any report, opening an issue if one doesn't exist yet. Comment with the issue and respective gist/bug here and I'll update the table. If you find an issue listed below that is a duplicate of an existing report, let me know and I'll also mark it in the table.

Modules/ (18 gists)

GistDescriptionCPython Issue
gist_ssl.c: Py_DECREF(NULL) in SNI callback#146080
gist_sqlite: collation assertion + missing PyErr_NoMemory#146090
gistfunctools partial PyDict_Contains -1 as truthy#146075 FIXED
gist_csv.c: _set_str missing NULL check#146093 FIXED
gist_zoneinfo: SEGV in get_weak_cache#146076 FIXED
gist_zoneinfo: missing PyErr_NoMemory in load_data#146092 FIXED
gisttermios: NULL to PyLong_AsLong#146091 FIXED
gist_struct: segfault/assertion on uninitialized StructFixed in515ae40
gistpyexpat: ExternalEntityParserCreate crashFixed ine6b9a14
gist_interpqueuesmodule: use-after-free dangling last
gistselectmodule: errno < 0 always false#146205 FIXED
gist_lsprof: exception clobbering
gistdeque.copy() ref corruption on OOM
gistreadline: begidx NULL on OOM
gistzlibmodule: PyErr_NewException unchecked
gistsocketmodule: audit hook ref/buffer leaks#146245
gist_interpchannelsmodule: missing PyErr_NoMemory
gist_interpretersmodule: SEGV on create under OOM

Objects/ (13 gists)

GistDescriptionCPython Issue
gistExceptionGroup repr OOB — 3-line segfault#146096 FIXED
gistSyntaxError.__init__ ref leaks on re-init#146250
gistcodeobject: code_richcompare swallows errors#146199
gistcodeobject: co_tlbc NULL + replacement_locations leak
gistweakref WRAP_BINARY ref leak (~20 operators)
gistFrameLocalsProxy swallows/overwrites errors
gisttypeobject: missing return -1 in type_ready
gisttypeobject: buffer leak in slot_bf_getbuffer
gistobject.c: PyObject_Print missing LeaveRecursiveCall
giststructseq: get_type_attr_as_size NULL deref
gistgenericaliasobject: two NULL dereference bugs
gistodictobject: spurious PyErr_Clear
gistunicode_format: wrong return + PY_SSIZE_T_MIN UB

Python/ (16 gists)

GistDescriptionCPython Issue
gistimport.c: wrong interpreter + double lock release
gistinstrumentation.c: PyLong leak per monitoring call
gistinstrumentation.c: use-after-Py_DECREF comparison
gistceval.c: missing PyErr_NoMemory + PyEval_GetLocals NULL
gistbltinmodule:lazy_import NULL deref
gistcrossinterp: UAF + leaked exception + shadowed var
gistcompiler pipeline: 6 ref leaks and error bugs
gistmarshal: 8 refs leaked on corrupt TYPE_CODE
gistpylifecycle: 5 init/fini cleanup bugs
gistinitconfig: SET_ITEM macro leaks dict#146244
gistast.c: LEAVE_RECURSIVE missing on 30 paths
gisthamt.c: sub_node leaked in bitmap ops
gistpythonrun: main_module ref leak
gistmodsupport: missing va_end (UB)
gistlegacy_tracing: unchecked PyLong_AsInt
gistoptimizer_symbols: make_bottom NULL deref

Duplicates (3 gists — same bugs uploaded from different runs)

GistDuplicate of
gistExceptionGroup repr (dup of dceaa8b7)
gistsqlite collation (dup of 69aff7ff)
gistSSL SNI (dup of 50f98806)

These issues were found with Claude Opus 4.6, using the/cpython-review-toolkit:explore [file or directory] all deep command.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Output from running 'python -VV' on the command line:

Python 3.15.0a7+ (heads/main:e0f7c1097e1, Mar 17 2026, 18:10:52) [Clang 21.1.2 (2ubuntu6)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errortype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp