From: Victor Stinner Date: Wed, 24 Aug 2016 23:00:31 +0000 (+0200) Subject: Issue #27830: Fix _PyObject_FastCallKeywords() X-Git-Tag: v3.6.0b1~552 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7507dd3e8ec84fe025c0ba82a9150275e2af9d9;p=thirdparty%2FPython%2Fcpython.git Issue #27830: Fix _PyObject_FastCallKeywords() Pass stack, not unrelated and uninitialized args! --- diff --git a/Objects/abstract.c b/Objects/abstract.c index db9f926a367c..c41fe11e3a1c 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 */