Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp> added the comment:

Hmm, I cannot reproduce the crash. I created the patch experimentally,
but I'm not confident with this patch. Especially here

+       if (n < 0)
+               n = PY_SSIZE_T_MAX;

because I don't have so much memory.

----------
keywords: +patch
Added file: http://bugs.python.org/file14372/fix_mmap_read.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6344>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to