]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Increase plink action frame AMPY buffer length for max GTK/IGTK
authorJouni Malinen <j@w1.fi>
Wed, 25 Dec 2019 21:35:40 +0000 (23:35 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 25 Dec 2019 21:35:40 +0000 (23:35 +0200)
commit65d0b67c228221fde8133d585a27588b8beb10fd
tree4d2c568b371fafd481f154abb70797c6b5a01bd5
parentb1b62a13648e8cd7efd994c4f07e2b261ea4356b
mesh: Increase plink action frame AMPY buffer length for max GTK/IGTK

The previous calculation of the buffer length did not take into account
the possibility of 32-octet GTK and IGTK values and it was also missing
something to cover the 16 octet keys that are supported now. Other
buffer elements were likely sufficient to cover all these cases, but
anyway, it is better to allocate sufficient size specifically for AMPE
to avoid issues in the future.

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