Subject: CVS commit: src/sys/kern
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 02/11/2003 02:03:48
Module Name: src
Committed By: nathanw
Date: Tue Feb 11 00:03:48 UTC 2003
Modified Files:
src/sys/kern: kern_sa.c
Log Message:
Move stack allocation in case 1 of sa_switch() to after the
sau == NULL check, to avoid a stack leak in the error case.
Spotted by enami.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/sys/kern/kern_sa.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.