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:40:12
SpamBayes Score 0.0016296739
Marked as misclassified No
Message-id <1235756415.33.0.41505595652.issue5386@psf.upfronthosting.co.za>
In-reply-to
Content
mmap.write_byte doesn't check buffer size, so it can cause crash like
bellow.

import mmap
m = mmap.mmap(-1, 1)
for i in xrange(10000): # enough?
    print i
    m.write_byte('1') # crash

The patch is in r69945.
History
Date User Action Args
2009-02-27 17:40:15ocean-citysetrecipients: + ocean-city
2009-02-27 17:40:15ocean-citysetmessageid: <1235756415.33.0.41505595652.issue5386@psf.upfronthosting.co.za>
2009-02-27 17:40:12ocean-citylinkissue5386 messages
2009-02-27 17:40:12ocean-citycreate