Message41834
Logged In: YES
user_id=52562
Well, instead of applying patch 36415, apply this new patch,
and run the Python self-test. (This patch replaces the call
to PyList_GET_ITEM with PyList_GetItem, so that overruns are
detected and aborted.)
When I do, I get this output:
./python -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 74, in ?
from sets import Set
File
"/home/zooko/playground/python/python/dist/src/Lib/sets.py",
line 372, in ?
class Set(BaseSet):
IndexError: list index out of range
make: [test] Error 1 (ignored)
When I apply my patch, it passes unit tests. When I run
test on unpatched CVS HEAD under valgrind, valgrind
identifies that line as a read-from-unallocated-memory
error. When I run test on my patch under valgrind, it
reports no errors. |
|
Date |
User |
Action |
Args |
2007-08-23 15:18:39 | admin | link | issue645404 messages |
2007-08-23 15:18:39 | admin | create | |
|