]> granicus.if.org Git - python/commit
Additional safe-guard against dereferencing NULL in reduce_newobj
authorChristian Heimes <christian@python.org>
Thu, 8 Sep 2016 22:21:22 +0000 (00:21 +0200)
committerChristian Heimes <christian@python.org>
Thu, 8 Sep 2016 22:21:22 +0000 (00:21 +0200)
commit07a2a1b7e512bb1a19b220b7bb8d941dc54cea86
treeee8b17ee35865e0825c1cefd64b8e8852e6fd78d
parent884332b45a436a90c5a36c3d6288566fb7ce3456
Additional safe-guard against dereferencing NULL in reduce_newobj

_PyObject_GetNewArguments() can leave args == NULL but the __newobj_ex__
branch expects args to be not-NULL.

CID 1353201
Objects/typeobject.c