This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/20831] New: _dl_map_segments does not test for __mprotect failures consistently
- From: "ldv at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 16 Nov 2016 23:07:23 +0000
- Subject: [Bug dynamic-link/20831] New: _dl_map_segments does not test for __mprotect failures consistently
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20831
Bug ID: 20831
Summary: _dl_map_segments does not test for __mprotect failures
consistently
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: ldv at sourceware dot org
Reporter: ldv at sourceware dot org
Target Milestone: ---
$ strace -e mprotect -e fault=mprotect:when=1:error=ENOMEM cat </dev/null
mprotect(0xf774e000, 4096, PROT_NONE) = -1 ENOMEM (Cannot allocate memory)
(INJECTED)
mprotect(0xf774f000, 8192, PROT_READ) = 0
mprotect(0x8054000, 4096, PROT_READ) = 0
mprotect(0xf7784000, 4096, PROT_READ) = 0
+++ exited with 0 +++
--
You are receiving this mail because:
You are on the CC list for the bug.