diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-07-12 01:27:18 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-07-12 01:27:18 +0000 |
commit | c72c3bed779d9176096abf487ca855aa2871edd8 (patch) | |
tree | 3e8f9b56d740f573bac987f3e5bf9f8343c946b4 /Python/exceptions.c | |
parent | a4e75d74f8a5569ab6343ae6d5d769bf689e6094 (diff) | |
download | cpython-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/exceptions.c')
0 files changed, 0 insertions, 0 deletions