Subject: CVS commit: src/lib/libc/arch/i386/sys
To: None <>
From: Jed Davis <>
List: source-changes
Date: 08/02/2006 04:18:48
Module Name:	src
Committed By:	jld
Date:		Wed Aug  2 04:18:48 UTC 2006

Modified Files:
	src/lib/libc/arch/i386/sys: __sigtramp2.S

Log Message:
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.2 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.