]> git.ipfire.org Git - thirdparty/hostap.git/commit
HT: Use cleaner way of generating pointer to a field (CID 68097)
authorJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 18:46:30 +0000 (21:46 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 21:27:15 +0000 (00:27 +0300)
commit5ce3ae4c8f2a07c28e0bbae1b68e5524ee034387
treec9d390c594f75471ea81b7feb1d56a7808b5237a
parentfb5d41717884a7c4db3e6a3e807351309c3b52b9
HT: Use cleaner way of generating pointer to a field (CID 68097)

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/ieee802_11_ht.c