summaryrefslogtreecommitdiff
path: root/Python/dynload_os2.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-08 20:46:00 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-08 20:46:00 +0000
commitecccc4f9b888ddfba057119e33e03b4c1ffdfe0e (patch)
tree949d9d7cf82975a5d7d26db038aa079b375130e4 /Python/dynload_os2.c
parent649124856aa994629e574c7a7ecf22d3b07f3ca0 (diff)
downloadcpython-git-ecccc4f9b888ddfba057119e33e03b4c1ffdfe0e.tar.gz
sys_pyfile_write() does nothing if file is NULL
mywrite() falls back to the C file object if sys_pyfile_write() returns an error. This patch fixes a segfault is Py_FatalError() is called in an early stage of Python initialization.
Diffstat (limited to 'Python/dynload_os2.c')
0 files changed, 0 insertions, 0 deletions