diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-07-12 01:27:18 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-07-12 01:27:18 (GMT) |
commit | c72c3bed779d9176096abf487ca855aa2871edd8 (patch) | |
tree | 3e8f9b56d740f573bac987f3e5bf9f8343c946b4 /Doc/lib/libsgmllib.tex | |
parent | a4e75d74f8a5569ab6343ae6d5d769bf689e6094 (diff) | |
download | cpython-c72c3bed779d9176096abf487ca855aa2871edd8.zip cpython-c72c3bed779d9176096abf487ca855aa2871edd8.tar.gz cpython-c72c3bed779d9176096abf487ca855aa2871edd8.tar.bz2 |
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 'Doc/lib/libsgmllib.tex')
0 files changed, 0 insertions, 0 deletions