]> git.ipfire.org Git - thirdparty/hostap.git/commit
Ignore too long SSID element value in parser
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 7 Apr 2015 08:50:10 +0000 (11:50 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Apr 2015 08:44:18 +0000 (11:44 +0300)
commit05e46a944ac6f5667b180e8ff49793e3c45ae6dd
treef5f749a871d092aa6828e9212b0b5b22a5f577ff
parent9ed4eee345f85e3025c33c6e20aa25696e341ccd
Ignore too long SSID element value in parser

The SSID element is defined to have a valid length range of 0-32. While
this length was supposed to validated by the users of the element
parser, there are not really any valid cases where the maximum length of
32 octet SSID would be exceeded and as such, the parser itself can
enforce the limit as an additional protection.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/ieee802_11_common.c
src/common/ieee802_11_defs.h