cvs commit: src/sys/kern uipc_syscalls.c
George V. Neville-Neil
gnn at FreeBSD.org
Tue Jun 20 12:36:41 UTC 2006
gnn 2006-06-20 12:36:40 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_syscalls.c
Log:
Properly cast the values of valsize (the size of the value passed in)
in setsockopt so that they can be compared correctly against negative
values. Passing in a negative value had a rather negative effect
on our socket code, making it impossible to open new sockets.
PR: 98858
Submitted by: James.Juran at baesystems.com
MFC after: 1 week
Revision Changes Path
1.230 +2 -2 src/sys/kern/uipc_syscalls.c
More information about the cvs-src
mailing list