From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13431 invoked by alias); 27 Sep 2008 18:34:02 -0000 Received: (qmail 13256 invoked by uid 48); 27 Sep 2008 18:32:50 -0000 Date: Sat, 27 Sep 2008 18:34:00 -0000 From: "bruno at clisp dot org" To: glibc-bugs@sources.redhat.com Message-ID: <20080927183249.6919.bruno@clisp.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/6919] New: posix_spawnattr_getschedparam overwrites unrelated memory X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00066.txt.bz2 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.