[issue11391] mmap write segfaults if PROT_WRITE bit is not set in prot

Antoine Pitrou report at bugs.python.org
Thu Mar 3 23:32:06 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Patch looks mostly good. Why do you use ~PROT_WRITE instead of PROT_READ|PROT_EXEC as in your example?
(I'm unsure whether a POSIX implementation could refuse such a value)

----------
nosy: +pitrou
stage:  -> patch review
type:  -> crash
versions: +Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11391>
_______________________________________


More information about the Python-bugs-list mailing list