diff options
author | truckman <truckman@FreeBSD.org> | 2004-01-10 08:28:54 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2004-01-10 08:28:54 +0000 |
commit | 417693c81357ae1110479329847a2066e672e252 (patch) | |
tree | ab13aca7e5944882a297f51b6b461a08518551b0 /share | |
parent | 12dea7eecf9f3819c08c18ddb59322a965f59512 (diff) | |
download | FreeBSD-src-417693c81357ae1110479329847a2066e672e252.zip FreeBSD-src-417693c81357ae1110479329847a2066e672e252.tar.gz |
Add a somewhat redundant check on the len arguement to getsockaddr() to
avoid relying on the minimum memory allocation size to avoid problems.
The check is somewhat redundant because the consumers of the returned
structure will check that sa_len is a protocol-specific larger size.
Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: nectar
MFC after: 30 days
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions