From: Victor Stinner Date: Tue, 29 Oct 2013 18:29:52 +0000 (+0100) Subject: Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and X-Git-Tag: v3.4.0b1~480^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b0c86717807bf86ba5d1d7d332529ad08179934;p=thirdparty%2FPython%2Fcpython.git Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and PyTuple_New() failure --- diff --git a/Objects/abstract.c b/Objects/abstract.c index 6c7a6cd2269e..91df5da65579 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -2144,6 +2144,8 @@ PyObject_CallFunction(PyObject *callable, const char *format, ...) } else args = PyTuple_New(0); + if (args == NULL) + return NULL; return call_function_tail(callable, args); }