Subject: CVS commit: [netbsd-3] src/sbin/cgdconfig
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 06/14/2005 21:43:33
Module Name:	src
Committed By:	tron
Date:		Tue Jun 14 21:43:33 UTC 2005

Modified Files:
	src/sbin/cgdconfig [netbsd-3]: utils.c

Log Message:
Pull up revision 1.8 (requested by lukem in ticket #404):
Avoid dereferencing/free()ing invalid pointers if the random device
cannot be opened.
Detected with gcc -Wuninitialized.
(The bug was fixed in rev 1.4 by rumble but reintroduced in rev 1.5 by tv !)


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.5.2.1 src/sbin/cgdconfig/utils.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.