summaryrefslogtreecommitdiffstats
path: root/lib/libgeom/geom_util.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-09-07 13:09:04 +0000
committerbz <bz@FreeBSD.org>2008-09-07 13:09:04 +0000
commitcb1cd5ee09eb37bf756225d7f27b846e17599cf1 (patch)
treee02f06a8fce1ee1d7f71298cec045af0a6a96343 /lib/libgeom/geom_util.c
parentfffe39bcea71473bf99577f1936bf93939e79e24 (diff)
downloadFreeBSD-src-cb1cd5ee09eb37bf756225d7f27b846e17599cf1.zip
FreeBSD-src-cb1cd5ee09eb37bf756225d7f27b846e17599cf1.tar.gz
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
Diffstat (limited to 'lib/libgeom/geom_util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud