-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
specialized PRECALL opcodes don't check types #92063
Copy link
Copy link
Closed
Labels
3.11only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Metadata
Metadata
Assignees
Labels
3.11only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
On the main branch, on both Windows and Linux, this crashes:
Other methods like
str.split,bytes.split, andlist.sortfail similarly. I caught this by runningLooking through stack traces, it appears the failure is on the
res = cfunc(...)call inPRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDSinstruction. It looks to be a 3.11-only bug.