kern_recvmsg() may not return a valid(non-NULL) pointer to `sa'
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 28 Jan 2007 06:31:00 +0000 (06:31 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 28 Jan 2007 06:31:00 +0000 (06:31 +0000)
commitb9cd15b951b13fa880adf53172b5893b1ace15e6
treea27ddbfaff9a44f483d102747faddc02239eaa11
parent1cd113208b94d75f6866df5e8b3ce9a6ee89b62b
kern_recvmsg() may not return a valid(non-NULL) pointer to `sa'
even if its return value is 0.  Only sys_recvfrom() knew this.
Fix other callers to deal with this.
sys/emulation/43bsd/43bsd_socket.c
sys/emulation/linux/linux_socket.c
sys/kern/uipc_syscalls.c