From f7507dd3e8ec84fe025c0ba82a9150275e2af9d9 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 25 Aug 2016 01:00:31 +0200 Subject: [PATCH] Issue #27830: Fix _PyObject_FastCallKeywords() Pass stack, not unrelated and uninitialized args! --- Objects/abstract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/abstract.c b/Objects/abstract.c index db9f926a36..c41fe11e3a 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 */ -- 2.40.0