]> git.ipfire.org Git - thirdparty/hostap.git/commit
BSS: Use variable length array for IEs at the end of struct wpa_bss
authorJouni Malinen <jouni@codeaurora.org>
Mon, 16 Nov 2020 14:25:17 +0000 (16:25 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 16 Nov 2020 14:25:17 +0000 (16:25 +0200)
commit454ebb504c7efd604ef482b6c8f71aed132e754d
treebafd7601f806a7319a527ece19d4a7758f5a7fde
parentbe7ee264f65498f616a87e1b439ae0190de0dda3
BSS: Use variable length array for IEs at the end of struct wpa_bss

Replace the previously used design "(u8 *) (bss + 1)" with a variable
length array at the end of struct wpa_bss bss->ies[] in hopes of making
this easier to understand for static analyzers.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/bss.c
wpa_supplicant/bss.h