diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-24 23:00:31 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-24 23:00:31 (GMT) |
commit | f7507dd3e8ec84fe025c0ba82a9150275e2af9d9 (patch) | |
tree | 4a55aa9f122778144236d49b7f3449c6e35aa0bf /Objects | |
parent | b98b927e72b21bd821c20d2b5bc5ec6da8bb6916 (diff) | |
download | cpython-f7507dd3e8ec84fe025c0ba82a9150275e2af9d9.zip cpython-f7507dd3e8ec84fe025c0ba82a9150275e2af9d9.tar.gz cpython-f7507dd3e8ec84fe025c0ba82a9150275e2af9d9.tar.bz2 |
Issue #27830: Fix _PyObject_FastCallKeywords()
Pass stack, not unrelated and uninitialized args!
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index db9f926..c41fe11 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -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 */ |