]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
iwm(4): Don't dereference potentially NULL pointer before NULL check
authorConrad Meyer <cem@FreeBSD.org>
Tue, 26 Apr 2016 19:06:28 +0000 (19:06 +0000)
committerConrad Meyer <cem@FreeBSD.org>
Tue, 26 Apr 2016 19:06:28 +0000 (19:06 +0000)
commit2cb2bed2942d146b5fb1a371bb9685271672fc73
treea99f2b5428d1259019b26ca58a30c37186c7c1dc
parent7bb0da8d70a939ceaa0c45dd9eff4da8c1ac194f
iwm(4): Don't dereference potentially NULL pointer before NULL check

Introduced in r298594.  There is no path before the 'vap == NULL' check where
vap is not already dereferenced.

Reported by: Coverity
CID: 1354979
Sponsored by: EMC / Isilon Storage Division
sys/dev/iwm/if_iwm.c