Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/sdpd



Module Name:    src
Committed By:   plunky
Date:           Thu Feb 22 20:49:32 UTC 2007

Modified Files:
        src/usr.sbin/sdpd: server.c

Log Message:
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.2 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.




Home | Main Index | Thread Index | Old Index