New submission from Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp>: mmap.move crashes by integer overflow. See http://www.nabble.com/Segv-in-mmap.move()-td18617044.html
import mmap data = mmap.mmap(-1, 1) data.move(1,1,-1) # crash Maybe mmap.move should use Py_ssize_t and raise IndexError(OverflowError?) for negative value. The patch is in r69943. ---------- components: Extension Modules messages: 82854 nosy: ocean-city severity: normal status: open title: mmap.move crashes by integer overflow type: crash versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5387> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com