WFD: Explicit limit for subelement length (CID 68127)
authorJouni Malinen <j@w1.fi>
Sun, 29 Jun 2014 21:43:28 +0000 (00:43 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:38:48 +0000 (12:38 +0300)
commitd3fa2bbb0278ffe34fc4486f04c4281a2b100c67
tree2a4943b20792c5df16322456b2242521cc92d245
parent745ef1847801c56041a5a33af892827c63e02163
WFD: Explicit limit for subelement length (CID 68127)

This adds an explicit limit for the maximum Wi-Fi Display subelement
length for ASCII hexdump. This would not really be needed since the
buffer is already limited by maximum frame length. Anyway, since this
can make static analyzers happier and the subelement used with this
function is short, we may as well include an explicit check.

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