diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-02-28 12:21:53 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-02-28 12:21:53 (GMT) |
commit | 10c9937b2381f6f5fa6464d95e1612369e8787b8 (patch) | |
tree | ab91bc2d2b81f3a6ab05dcd9e68cae090a152487 /Modules/mmapmodule.c | |
parent | 39c6dea4a24a1739971b0a68e0bdc49f68356b73 (diff) | |
download | cpython-10c9937b2381f6f5fa6464d95e1612369e8787b8.zip cpython-10c9937b2381f6f5fa6464d95e1612369e8787b8.tar.gz cpython-10c9937b2381f6f5fa6464d95e1612369e8787b8.tar.bz2 |
Merged revisions 70056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70056 | hirokazu.yamamoto | 2009-02-28 21:13:07 +0900 | 2 lines
Issue #1733986: Fixed mmap crash in accessing elements of second map object
with same tagname but larger size than first map. (Windows)
........
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index db94406..d214b62 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -1297,7 +1297,7 @@ new_mmap_object(PyTypeObject *type, PyObject *args, PyObject *kwdict) dwDesiredAccess, off_hi, off_lo, - 0); + m_obj->size); if (m_obj->data != NULL) return (PyObject *)m_obj; else |