Subject: CVS commit: [netbsd-4] src/usr.sbin/sdpd
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 02/24/2007 13:16:10
Module Name:	src
Committed By:	bouyer
Date:		Sat Feb 24 13:16:10 UTC 2007

Modified Files:
	src/usr.sbin/sdpd [netbsd-4]: server.c

Log Message:
Pull up following revision(s) (requested by plunky in ticket #459):
	usr.sbin/sdpd/server.c: revision 1.2
use CMSG_LEN and SOCKCREDSIZE macros to validate length because when
there are zero extra groups, the size of the cmsg is smaller than
sizeof(struct sockcred). This fixes a problem with registering
services during rc.d
while here, validate the pdu header length before using the contents


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.1.4.1 src/usr.sbin/sdpd/server.c

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