Date: Sun, 7 Sep 2008 13:09:04 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_sockbuf.c Message-ID: <200809071309.m87D9Mex041380@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2008-09-07 13:09:04 UTC
FreeBSD src repository
Modified files:
sys/kern uipc_sockbuf.c
Log:
SVN rev 182842 on 2008-09-07 13:09:04Z by bz
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.
Discussed with: kmacy (about 8 months back)
Reviewed by: silby (as part of a larger patch in March)
MFC after: 2 months
Revision Changes Path
1.178 +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?200809071309.m87D9Mex041380>
