(original) (raw)

changeset: 102903:0ff25676505d user: Victor Stinner victor.stinner@gmail.com date: Thu Aug 25 01:00:31 2016 +0200 files: Objects/abstract.c description: Issue #27830: Fix _PyObject_FastCallKeywords() Pass stack, not unrelated and uninitialized args! diff -r f03af015cf2e -r 0ff25676505d Objects/abstract.c --- a/Objects/abstract.c Thu Aug 25 00:58:58 2016 +0200 +++ b/Objects/abstract.c Thu Aug 25 01:00:31 2016 +0200 @@ -2365,7 +2365,7 @@ } 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 */ /victor.stinner@gmail.com