Use clearer way of getting pointer to a frame (CID 62835)
authorJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 16:42:50 +0000 (19:42 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 12 Jun 2014 21:27:11 +0000 (00:27 +0300)
commit70d953736145190dd3af1b39248a853b31b03ee6
treef87d00c0b37ea2dc54e45555dd1428cba147191c
parentc02f35fb59e906a7c6bba4ba4ec7c2f30f24b91e
Use clearer way of getting pointer to a frame (CID 62835)

This avoids an incorrect ARRAY_VS_SINGLETON report for a case where a
pointer is taken to the specified field in a frame and not to a single
octet. Bounds checking was already handled separately.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c