diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-09-07 13:09:04 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-09-07 13:09:04 +0000 |
commit | 6f4745d5757e385b06448930a2570371eb2f9a1e (patch) | |
tree | e02f06a8fce1ee1d7f71298cec045af0a6a96343 /lib/libgeom | |
parent | c4982fae5930a7a57160d9eeff35cfcf34a09633 (diff) | |
download | src-6f4745d5757e385b06448930a2570371eb2f9a1e.tar.gz src-6f4745d5757e385b06448930a2570371eb2f9a1e.zip |
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
Notes
Notes:
svn path=/head/; revision=182842
Diffstat (limited to 'lib/libgeom')
0 files changed, 0 insertions, 0 deletions