diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-23 08:01:43 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-23 08:01:43 +0000 |
commit | dce937f32c323be92844185e0db768dc91f0a728 (patch) | |
tree | d1d6299019786facff9a4ea53ca39ff1f78e81f1 /Lib/optparse.py | |
parent | 9029b5f28934f78c5c13c62e8565f468955eb4df (diff) | |
download | cpython-git-dce937f32c323be92844185e0db768dc91f0a728.tar.gz |
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 'Lib/optparse.py')
0 files changed, 0 insertions, 0 deletions