mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #27830: Fix _PyObject_FastCallKeywords()
Pass stack, not unrelated and uninitialized args!
This commit is contained in:
parent
b98b927e72
commit
f7507dd3e8
1 changed files with 1 additions and 1 deletions
|
|
@ -2365,7 +2365,7 @@ _PyObject_FastCallKeywords(PyObject *func, PyObject **stack, Py_ssize_t nargs,
|
|||
}
|
||||
|
||||
if (PyCFunction_Check(func) && nkwargs == 0) {
|
||||
return _PyCFunction_FastCallDict(func, args, nargs, NULL);
|
||||
return _PyCFunction_FastCallDict(func, stack, nargs, NULL);
|
||||
}
|
||||
|
||||
/* Slow-path: build temporary tuple and/or dict */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue