[issue5387] mmap.move crashes by integer overflow
Jack Diederich
report at bugs.python.org
Tue Mar 31 20:39:14 CEST 2009
Jack Diederich <jackdied at gmail.com> added the comment:
running a fresh 2.7 trunk
>>> a
<mmap.mmap object at 0xb7d9f9c0>
>>> a.move(-1, -1, -1
... )
Segmentation fault
jack at sprat:~/src/python-rw$ ./python
Python 2.7a0 (trunk:70847M, Mar 31 2009, 14:14:31)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mmap
>>> a = mmap.mmap(-1, 1000)
>>> a.move(0, 0, 0)
>>> a.move(-1, -1, 1)
Segmentation fault
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5387>
_______________________________________
More information about the Python-bugs-list
mailing list