]> granicus.if.org Git - python/commit
Issue #6697: Check that _PyUnicode_AsString() result is not NULL in typeobject
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 01:42:46 +0000 (01:42 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 01:42:46 +0000 (01:42 +0000)
commite5f99f398ce56bada62a7fce28892705eafe6989
tree2dc680a6a02aed9c883bbd17a49b696cd9d29ef9
parent8699950b04343afe37e9dcdce87028ba0f56827b
Issue #6697: Check that _PyUnicode_AsString() result is not NULL in typeobject

Type name and slots are already checked for surrogates somewhere else, but it's
better to ensure that the result is not NULL.
Objects/typeobject.c