cvs commit: src/sys/kern uipc_syscalls.c src/sys/emulation/43bsd 43bsd_socket.c src/sys/emulation/linux linux_socket.c
YONETANI Tomokazu
y0netan1 at crater.dragonflybsd.org
Sat Jan 27 22:36:19 PST 2007
y0netan1 2007/01/27 22:31:00 PST
DragonFly src repository
Modified files:
sys/kern uipc_syscalls.c
sys/emulation/43bsd 43bsd_socket.c
sys/emulation/linux linux_socket.c
Log:
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.
Revision Changes Path
1.78 +6 -2 src/sys/kern/uipc_syscalls.c
1.10 +12 -4 src/sys/emulation/43bsd/43bsd_socket.c
1.27 +12 -4 src/sys/emulation/linux/linux_socket.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.77&r2=1.78&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/43bsd/43bsd_socket.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_socket.c.diff?r1=1.26&r2=1.27&f=u
More information about the Commits
mailing list