Subject: CVS commit: src/lib/libc/net
To: None <source-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/01/2005 05:19:22
Module Name: src
Committed By: lukem
Date: Wed Jun 1 05:19:21 UTC 2005
Modified Files:
src/lib/libc/net: getnetnamadr.c
Log Message:
Move the test for "more strict reverse lookup handling" to the correct
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26. Hi Itojun! :)
To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 src/lib/libc/net/getnetnamadr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.