This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients ocean-city
Date 2009-02-27.17:45:15
SpamBayes Score 0.03497281
Marked as misclassified No
Message-id <1235756718.87.0.0651298987866.issue5387@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-02-27 17:45:18ocean-citysetrecipients: + ocean-city
2009-02-27 17:45:18ocean-citysetmessageid: <1235756718.87.0.0651298987866.issue5387@psf.upfronthosting.co.za>
2009-02-27 17:45:15ocean-citylinkissue5387 messages
2009-02-27 17:45:15ocean-citycreate