Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 10/02/2006 09:22:34
Module Name: src
Committed By: elad
Date: Mon Oct 2 09:22:34 UTC 2006
Modified Files:
src/sys/kern: uipc_socket.c
Log Message:
Move the kauth_cred_free() call above the "is connected" check to not
leak credentials.
Pointed out by yamt@, thanks!
To generate a diff of this commit:
cvs rdiff -r1.123 -r1.124 src/sys/kern/uipc_socket.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.