Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/compat/darwin
Module Name: src
Committed By: dsl
Date: Sun Jun 17 21:30:11 UTC 2007
Modified Files:
src/sys/compat/darwin: darwin_socket.c
Log Message:
There is no need for the stackgap in sys_bind() and sys_connect().
If sa_len is zero, believing the size passed to bind/connect seems
better than trying to strlen somthing that might run off the mapped kma.
Verify the address family against the array size before indexing.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/compat/darwin/darwin_socket.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