[New-bugs-announce] [issue34492] Python/coreconfig.c: Missing NULL check in _Py_wstrlist_copy()
Alexey Izbyshev
report at bugs.python.org
Fri Aug 24 18:37:17 EDT 2018
New submission from Alexey Izbyshev <izbyshev at ispras.ru>:
The return value of PyMem_RawMalloc() is not checked for NULL at https://github.com/python/cpython/blob/ef8861c112ed1dac9351958c121bc24ca4ecdb08/Python/coreconfig.c#L71.
Reported by Svace static analyzer.
----------
components: Interpreter Core
messages: 324021
nosy: berker.peksag, izbyshev, serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: Python/coreconfig.c: Missing NULL check in _Py_wstrlist_copy()
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34492>
_______________________________________
More information about the New-bugs-announce
mailing list