mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #19219: retval may be used uninitialized value
CID 486239: Uninitialized pointer read (UNINIT)
This commit is contained in:
parent
5703cd58ca
commit
3572842c19
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue