Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision da604c19923ef1fd365a0ace5bb8c6e0bbe763ce authored by Andrew M. Kuchling on 05 October 2006, 18:49:36 UTC, committed by Andrew M. Kuchling on 05 October 2006, 18:49:36 UTC
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.
1 parent 9788095
Tip revision: da604c19923ef1fd365a0ace5bb8c6e0bbe763ce authored by Andrew M. Kuchling on 05 October 2006, 18:49:36 UTC
[Backport r50783 | neal.norwitz. The bytes_left code is complicated,
[Backport r50783 | neal.norwitz. The bytes_left code is complicated,
Tip revision: da604c1
File | Mode | Size |
---|---|---|
abstract.c | -rw-r--r-- | 48.1 KB |
boolobject.c | -rw-r--r-- | 4.8 KB |
bufferobject.c | -rw-r--r-- | 13.7 KB |
cellobject.c | -rw-r--r-- | 2.3 KB |
classobject.c | -rw-r--r-- | 60.0 KB |
cobject.c | -rw-r--r-- | 3.9 KB |
complexobject.c | -rw-r--r-- | 22.8 KB |
descrobject.c | -rw-r--r-- | 30.1 KB |
dictnotes.txt | -rw-r--r-- | 10.9 KB |
dictobject.c | -rw-r--r-- | 57.0 KB |
enumobject.c | -rw-r--r-- | 8.4 KB |
fileobject.c | -rw-r--r-- | 58.4 KB |
floatobject.c | -rw-r--r-- | 33.5 KB |
frameobject.c | -rw-r--r-- | 21.9 KB |
funcobject.c | -rw-r--r-- | 21.4 KB |
genobject.c | -rw-r--r-- | 2.9 KB |
intobject.c | -rw-r--r-- | 27.3 KB |
iterobject.c | -rw-r--r-- | 5.4 KB |
listobject.c | -rw-r--r-- | 68.3 KB |
listsort.txt | -rw-r--r-- | 30.7 KB |
longobject.c | -rw-r--r-- | 72.8 KB |
methodobject.c | -rw-r--r-- | 8.1 KB |
moduleobject.c | -rw-r--r-- | 6.2 KB |
object.c | -rw-r--r-- | 48.3 KB |
obmalloc.c | -rw-r--r-- | 44.5 KB |
rangeobject.c | -rw-r--r-- | 9.1 KB |
setobject.c | -rw-r--r-- | 26.0 KB |
sliceobject.c | -rw-r--r-- | 7.5 KB |
stringobject.c | -rw-r--r-- | 103.4 KB |
structseq.c | -rw-r--r-- | 9.5 KB |
tupleobject.c | -rw-r--r-- | 19.5 KB |
typeobject.c | -rw-r--r-- | 147.6 KB |
unicodectype.c | -rw-r--r-- | 8.4 KB |
unicodeobject.c | -rw-r--r-- | 189.2 KB |
unicodetype_db.h | -rw-r--r-- | 75.4 KB |
weakrefobject.c | -rw-r--r-- | 28.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...