summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkimg
diff options
context:
space:
mode:
authorpeterj <peterj@FreeBSD.org>2014-12-28 07:14:38 +0000
committerpeterj <peterj@FreeBSD.org>2014-12-28 07:14:38 +0000
commitf7c5de75b0141381ea7318b5c36ba41e0350f690 (patch)
tree42d2a0bc27a2680f94cca2d7fae63bbf4182a4ad /usr.bin/mkimg
parent85cae5d907dce32e2e7cab66acb1d199238ff3b6 (diff)
downloadFreeBSD-src-f7c5de75b0141381ea7318b5c36ba41e0350f690.zip
FreeBSD-src-f7c5de75b0141381ea7318b5c36ba41e0350f690.tar.gz
MFH r275941:
Adjust the test of a KASSERT to better match the intent. This assertion was added in r246213 as a guard against corrupted mbufs arriving from drivers, the key distinguishing factor of said mbufs being that they had a negative length. Given we're in a while loop specifically designed to skip over zero-length mbufs, panicking on a zero-length mbuf seems incorrect. Suggested by: rmacklem MFH go-ahead: benno Approved by: grog (co-mentor)
Diffstat (limited to 'usr.bin/mkimg')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud