diff options
author | Christian Heimes <christian@cheimes.de> | 2012-09-11 17:30:53 +0200 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-09-11 17:30:53 +0200 |
commit | 5557a9c73fc52276c3fb382491b3f9fe5999a042 (patch) | |
tree | ee81750e352588c2180ea3910e494638ac136241 /Python/symtable.c | |
parent | 2fd8bdbc9d904a7cb9f7cd676322eee03d92ee0c (diff) | |
download | cpython-git-5557a9c73fc52276c3fb382491b3f9fe5999a042.tar.gz |
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions