Subject: CVS commit: src/lib/libc/db/recno
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/01/2005 05:39:17
Module Name: src
Committed By: lukem
Date: Wed Jun 1 05:39:17 UTC 2005
Modified Files:
src/lib/libc/db/recno: rec_open.c
Log Message:
Ensure dbp is initialized to NULL before trying to use it in an error codepath.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.13. Hi Mycroft! :)
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/lib/libc/db/recno/rec_open.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.