[New-bugs-announce] [issue14232] obmalloc: mmap() returns MAP_FAILED on error, not 0

STINNER Victor report at bugs.python.org
Fri Mar 9 01:18:00 CET 2012


New submission from STINNER Victor <victor.stinner at gmail.com>:

Python fails to catch memory allocation error in its memory allocator when mmap() is used. Attached patch fixes the issue.

----------
components: Interpreter Core
files: obmalloc_map_failed.patch
keywords: patch
messages: 155192
nosy: haypo, neologix, pitrou
priority: normal
severity: normal
status: open
title: obmalloc: mmap() returns MAP_FAILED on error, not 0
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file24760/obmalloc_map_failed.patch

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


More information about the New-bugs-announce mailing list