Subject: PR/34112 CVS commit: [netbsd-2] src/lib/libc/arch/i386/sys
To: None <jld@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Jeff Rizzo <riz@netbsd.org>
List: netbsd-bugs
Date: 08/11/2006 04:50:03
The following reply was made to PR port-i386/34112; it has been noted by GNATS.

From: Jeff Rizzo <riz@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34112 CVS commit: [netbsd-2] src/lib/libc/arch/i386/sys
Date: Fri, 11 Aug 2006 04:49:17 +0000 (UTC)

 Module Name:	src
 Committed By:	riz
 Date:		Fri Aug 11 04:49:17 UTC 2006
 
 Modified Files:
 	src/lib/libc/arch/i386/sys [netbsd-2]: __sigtramp2.S
 
 Log Message:
 Pull up following revision(s) (requested by jld in ticket #10667):
 	lib/libc/arch/i386/sys/__sigtramp2.S: revision 1.2
 Fix PR 34112, where a program could mysteriously exit on return from a
 signal handler, by deriving the context pointer from the stack pointer
 instead of trying to read it from where the sigaction function may have
 overwritten it with arbitrary bits.
 Fix provided by Matthias Drochner in the PR.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.1 -r1.1.4.1 src/lib/libc/arch/i386/sys/__sigtramp2.S
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.