cvs commit: src/sys/kern uipc_sockbuf.c
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Sep 7 13:09:22 UTC 2008
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
More information about the cvs-src
mailing list