]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
Validate driver extended capabilities length against buffer length
authorJouni Malinen <j@w1.fi>
Sat, 7 Jun 2014 13:33:28 +0000 (16:33 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 7 Jun 2014 13:35:30 +0000 (16:35 +0300)
commit0bbaa9b93f76025e81c3976bebcc00bf1660cfec
tree4153258afb424b40e429bec44ac64bf3288d191a
parent9c6c5589e043a517f3670ebcd3f499f46457bb0d
Validate driver extended capabilities length against buffer length

Prepare for new extended capabilities bits by checking that the local
buffer is large enough to contain all the bits the driver requests. The
existing buffers are large enough to include anything defined until now,
but it would be possible to add more definitions in the future, so
increase them a bit as well to make this more future proof.

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