summaryrefslogtreecommitdiff
path: root/Python/importlib.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-09-11 17:31:08 +0200
committerChristian Heimes <christian@cheimes.de>2012-09-11 17:31:08 +0200
commite9a6d62d9fb6f0e88318a4279b54288b5ab08ee3 (patch)
tree80ad4a37b30f4b5faaac144ac334433db1d6ae89 /Python/importlib.h
parent6d29352cfd76d569198dd2fd2eb02b2b0c5a8c44 (diff)
parent5557a9c73fc52276c3fb382491b3f9fe5999a042 (diff)
downloadcpython-git-e9a6d62d9fb6f0e88318a4279b54288b5ab08ee3.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/importlib.h')
0 files changed, 0 insertions, 0 deletions