Christian Heimes added the comment:
After a good night sleep I realized it's a false positive. All gotos are inside
the while block. The while block is only entered when PyDict_Size(obj) > 0.
--
resolution: -> invalid
status: open -> closed
___
Pyth
New submission from Christian Heimes:
Unpickler_set_memo() has a memory leak when it is called with an empty
dictionariy as argument
- PyDict_Check(obj) is true
- PyDict_Size(obj) returns 0
- _Unpickler_NewMemo(new_memo_size) calls PyMem_MALLOC(0)
- PyMem_MALLOC(0) returns a valid pointer altho