Subject: PR/34112 CVS commit: [netbsd-3] src/lib/libc/arch/i386/sys
To: None <jld@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 08/03/2006 12:25:01
The following reply was made to PR port-i386/34112; it has been noted by GNATS.

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34112 CVS commit: [netbsd-3] src/lib/libc/arch/i386/sys
Date: Thu,  3 Aug 2006 12:22:44 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Thu Aug  3 12:22:44 UTC 2006
 
 Modified Files:
 	src/lib/libc/arch/i386/sys [netbsd-3]: __sigtramp2.S
 
 Log Message:
 Pull up following revision(s) (requested by jld in ticket #1447):
 	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.6.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.