]> granicus.if.org Git - python/commit
bpo-34492: Python/coreconfig.c: Fix _Py_wstrlist_copy() (GH-8910)
authorAlexey Izbyshev <izbyshev@ispras.ru>
Fri, 24 Aug 2018 23:34:56 +0000 (02:34 +0300)
committerVictor Stinner <vstinner@redhat.com>
Fri, 24 Aug 2018 23:34:56 +0000 (01:34 +0200)
commiteb746dbae8b320758ee08f811316d7f283435cc0
treea98092c4b2df5bffbfcf8420e1cfa8c60233e07b
parent3738fadc670274ecc4649f51b52a93602820a375
bpo-34492: Python/coreconfig.c: Fix _Py_wstrlist_copy() (GH-8910)

bpo-34492: Python/coreconfig.c: Add missing NULL check to _Py_wstrlist_copy().

Fix _Py_wstrlist_clear() call on a wrong list.

Reported by Svace static analyzer.
Python/coreconfig.c