]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r299921
authortruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 7 Jun 2016 16:53:05 +0000 (16:53 +0000)
committertruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 7 Jun 2016 16:53:05 +0000 (16:53 +0000)
commit3971b869679a7658afa22d7dfd8c73ecd184f847
tree7fc2de76f3220b2a5938dad53eb39a8b6e900bbf
parent62886f8ca9deb7921d975b6a1100f64204ec54d1
MFC r299921

Add an assertion to catch a potential underflow in an array index
calculation, though this should not happen in the current code.

Reported by: Coverity
CID: 1008486

git-svn-id: svn://svn.freebsd.org/base/stable/10@301556 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ifconfig/ifieee80211.c