This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15763] shm_open/unlink let you write outside SHMDIR
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 20 Jul 2013 17:02:45 +0000
- Subject: [Bug libc/15763] shm_open/unlink let you write outside SHMDIR
- Auto-submitted: auto-generated
- References: <bug-15763-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15763
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> ---
I believe the fix for this bug should be related to the fix for #14752:
shm_open and shm_unlink should validate the name before doing anything else,
and the validation should require that, after stripping initial slashes, the
string is no longer than NAME_MAX and contains no slashes.
--
You are receiving this mail because:
You are on the CC list for the bug.