Browse Source

Issue #19219: retval may be used uninitialized value

CID 486239: Uninitialized pointer read (UNINIT)
pull/224/head
Christian Heimes 12 years ago
parent
commit
3572842c19
  1. 2
      Python/marshal.c

2
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,

Loading…
Cancel
Save