diff options
| author | Christian Heimes <christian@cheimes.de> | 2013-10-13 02:29:06 +0200 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2013-10-13 02:29:06 +0200 |
| commit | 3572842c19a8ddf1dde2162fee3c7a8a0ce9979b (patch) | |
| tree | 70324c572df5f463e873e28cda90548d51cbcf72 /Python | |
| parent | 5703cd58ca2a83bee48266aa31b759e6349b5323 (diff) | |
| download | cpython-git-3572842c19a8ddf1dde2162fee3c7a8a0ce9979b.tar.gz | |
Issue #19219: retval may be used uninitialized value
CID 486239: Uninitialized pointer read (UNINIT)
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index 9ca23dbe15..2addb2dbfe 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, |
