[ python-Bugs-1733986 ] mmap.mmap can overrun buffer

SourceForge.net noreply at sourceforge.net
Sat Jun 9 10:53:53 CEST 2007


Bugs item #1733986, was opened at 2007-06-09 03:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1733986&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Roger Upole (rupole)
Assigned to: Nobody/Anonymous (nobody)
Summary: mmap.mmap can overrun buffer

Initial Comment:
When opening a named mapping (windows only) that already exists, the size is ignored but the constructor assumes the passed-in size is the buffer size.  If you specify a size larger than the original, the reopened mapping can write past the end of the valid buffer, resulting in a crash.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1733986&group_id=5470


More information about the Python-bugs-list mailing list