You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Python/coreconfig.c: Missing NULL check in _Py_wstrlist_copy()[/-][+]Python/coreconfig.c: Fix _Py_wstrlist_copy()[/+]on Aug 25, 2018
Activity
izbyshev commentedon Aug 24, 2018
The return value of PyMem_RawMalloc() is not checked for NULL at
cpython/Python/coreconfig.c
Line 71 in ef8861c
Reported by Svace static analyzer.
vstinner commentedon Aug 24, 2018
New changeset eb746db by Victor Stinner (Alexey Izbyshev) in branch 'master':
bpo-34492: Python/coreconfig.c: Fix _Py_wstrlist_copy() (GH-8910)
eb746db
[-]Python/coreconfig.c: Missing NULL check in _Py_wstrlist_copy()[/-][+]Python/coreconfig.c: Fix _Py_wstrlist_copy()[/+]vstinner commentedon Aug 25, 2018
New changeset 388bd4b by Victor Stinner (Alexey Izbyshev) in branch '3.7':
[3.7] bpo-34492: Modules/main.c: Fix copy_wstrlist() (GH-8910) (GH-8922)
388bd4b
vstinner commentedon Aug 25, 2018
Thanks Alexey Izbyshev for the bug report and the fix for 3.7 and master branches!