diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-10-05 18:49:36 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-10-05 18:49:36 (GMT) |
commit | da604c19923ef1fd365a0ace5bb8c6e0bbe763ce (patch) | |
tree | 4abcf918cdd4e16d2892f9eed79c751f5c640a83 /Python/pythonrun.c | |
parent | 978809518d823c6f67ed7be2563de52275ea8623 (diff) | |
download | cpython-da604c19923ef1fd365a0ace5bb8c6e0bbe763ce.zip cpython-da604c19923ef1fd365a0ace5bb8c6e0bbe763ce.tar.gz cpython-da604c19923ef1fd365a0ace5bb8c6e0bbe763ce.tar.bz2 |
[Backport r50783 | neal.norwitz. The bytes_left code is complicated,
but looks correct on a casual inspection and hasn't been modified
in the trunk. Does anyone want to review further?]
Ensure we don't write beyond errText. I think I got this right, but
it definitely could use some review to ensure I'm not off by one
and there's no possible overflow/wrap-around of bytes_left.
Reported by Klocwork #1.
Fix a problem if there is a failure allocating self->db.
Found with failmalloc.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions