[New-bugs-announce] [issue34456] pickle: Missing NULL check in save_global()

Alexey Izbyshev report at bugs.python.org
Tue Aug 21 19:15:26 EDT 2018

New submission from Alexey Izbyshev <izbyshev at ispras.ru>:

The return value of Py_BuildValue() is dereferenced without checking at https://github.com/python/cpython/blob/ef8861c112ed1dac9351958c121bc24ca4ecdb08/Modules/_pickle.c#L3457

Reported by Svace static analyzer.

components: Extension Modules
messages: 323853
nosy: izbyshev, serhiy.storchaka
priority: normal
severity: normal
status: open
title: pickle: Missing NULL check in save_global()
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list