]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Use cleaner way of generating pointer to a field (CID 68099)
authorJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 19:36:02 +0000 (22:36 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 21:27:15 +0000 (00:27 +0300)
commitda995b2e11f10c6e643d0a2ce43f24e81dd78dae
tree1e2be7418c6c1f6473c2b2b2160166b00f88e6ec
parent062833c67cbf324ecc7724cd0290a7eb093ffd7a
WNM: Use cleaner way of generating pointer to a field (CID 68099)

The Action code field is in a fixed location, so the IEEE80211_HDRLEN
can be used here to clean up bounds checking to avoid false reports from
static analyzer.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/wnm_ap.c