Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: source-changes
Date: 03/24/2006 17:16:10
Module Name: src
Committed By: hannken
Date: Fri Mar 24 17:16:10 UTC 2006
Modified Files:
src/sys/kern: vfs_vnops.c
Log Message:
vn_rdwr(): Initialize `mp' to NULL. vn_finished_write() would be called
with uninitialized `mp' if `vp->v_type == VCHR'.
From Coverity CID 2475.
To generate a diff of this commit:
cvs rdiff -r1.107 -r1.108 src/sys/kern/vfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.