This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6919] New: posix_spawnattr_getschedparam overwrites unrelated memory
- From: "bruno at clisp dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 27 Sep 2008 18:32:50 -0000
- Subject: [Bug libc/6919] New: posix_spawnattr_getschedparam overwrites unrelated memory
- Reply-to: sourceware-bugzilla at sourceware dot org
The posix_spawnattr_getschedparam function overwrites memory beyond the given
output parameter.
The attached testcase prints
$ gcc -O -Wall bug.c -o bug
$ ./bug
value was 66 and is now 0
Aborted
--
Summary: posix_spawnattr_getschedparam overwrites unrelated
memory
Product: glibc
Version: 2.8
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: bruno at clisp dot org
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i586-suse-linux
GCC host triplet: i586-suse-linux
GCC target triplet: i586-suse-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=6919
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.