public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/6919] New: posix_spawnattr_getschedparam overwrites unrelated memory
@ 2008-09-27 18:34 bruno at clisp dot org
  2008-09-27 18:34 ` [Bug libc/6919] " bruno at clisp dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: bruno at clisp dot org @ 2008-09-27 18:34 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-6919-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-07-02  7:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-27 18:34 [Bug libc/6919] New: posix_spawnattr_getschedparam overwrites unrelated memory bruno at clisp dot org
2008-09-27 18:34 ` [Bug libc/6919] " bruno at clisp dot org
2008-09-27 18:41 ` bruno at clisp dot org
2008-10-31 18:52 ` drepper at redhat dot com
2008-11-02  0:56 ` bruno at clisp dot org
     [not found] <bug-6919-131@http.sourceware.org/bugzilla/>
2014-07-02  7:18 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).