Date: Tue, 25 Aug 2009 12:32:16 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern uipc_sockbuf.c Message-ID: <200908251232.n7PCWZeI044540@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2009-08-25 12:32:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_sockbuf.c Log: SVN rev 196538 on 2009-08-25 12:32:16Z by bz MFC r182842: Catch a possible NULL pointer deref in case the offsets got mangled somehow. As a consequence we may now get an unexpected result(*). Catch that error cases with a well defined panic giving appropriate pointers to ease debugging. (*) While the concensus was that the case should never happen unless there was a bug, noone was definitively sure. Revision Changes Path 1.171.2.6 +3 -1 src/sys/kern/uipc_sockbuf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908251232.n7PCWZeI044540>