Date: Tue, 9 Feb 2010 22:30:51 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/compat/linux linux_socket.c Message-ID: <201002092231.o19MVCI4086165@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2010-02-09 22:30:51 UTC FreeBSD src repository Modified files: sys/compat/linux linux_socket.c Log: SVN rev 203728 on 2010-02-09 22:30:51Z by delphij - Return EAFNOSUPPORT instead of EINVAL for unsupported address family, this matches the Linux behavior. - Check if we have sufficient space allocated for socket structure, which fixes a buffer overflow when wrong length is being passed into the emulation layer. [1] PR: kern/138860 Submitted by: Mateusz Guzik <mjguzik gmail com> Reported by: Alexander Best [1] MFC after: 2 weeks Revision Changes Path 1.103 +7 -2 src/sys/compat/linux/linux_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002092231.o19MVCI4086165>