From: Christian Heimes Date: Sun, 13 Oct 2013 00:29:06 +0000 (+0200) Subject: Issue #19219: retval may be used uninitialized value X-Git-Tag: v3.4.0a4~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3572842c19a8ddf1dde2162fee3c7a8a0ce9979b;p=thirdparty%2FPython%2Fcpython.git Issue #19219: retval may be used uninitialized value CID 486239: Uninitialized pointer read (UNINIT) --- diff --git a/Python/marshal.c b/Python/marshal.c index 9ca23dbe15ed..2addb2dbfe0a 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -841,7 +841,7 @@ r_object(RFILE *p) long i, n; int type, code = r_byte(p); int flag, is_interned = 0; - PyObject *retval; + PyObject *retval = NULL; if (code == EOF) { PyErr_SetString(PyExc_EOFError,