[issue34456] pickle: Missing NULL check in save_global()

Alexey Izbyshev report at bugs.python.org
Wed Aug 22 09:17:26 EDT 2018


Alexey Izbyshev <izbyshev at ispras.ru> added the comment:

No, I couldn't find any similar calls in save_global() in 2.7.

However, there is Py_BuildValue() call in initcPickle(), and its result is passed unchecked to PyDict_SetItemString(), where it's eventually dereferenced. In fact, all PyDict_SetItemString() calls in initcPickle() are made without checking for NULL. Should I file an issue for that?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34456>
_______________________________________


More information about the Python-bugs-list mailing list