summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-07-12 01:27:18 +0000
committerAndrew M. Kuchling <amk@amk.ca>2000-07-12 01:27:18 +0000
commitc72c3bed779d9176096abf487ca855aa2871edd8 (patch)
tree3e8f9b56d740f573bac987f3e5bf9f8343c946b4 /Python/codecs.c
parenta4e75d74f8a5569ab6343ae6d5d769bf689e6094 (diff)
downloadcpython-git-c72c3bed779d9176096abf487ca855aa2871edd8.tar.gz
Fix bugs in readinst():
* There was no error reported if the .read() method returns a non-string * If read() returned too much data, the buffer would be overflowed causing a core dump * Used strncpy, not memcpy, which seems incorrect if there are embedded \0s. * The args and bytes objects were leaked
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions