]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Ignore too long Device Name attribute
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 7 Apr 2015 09:10:50 +0000 (12:10 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 Apr 2015 08:44:18 +0000 (11:44 +0300)
commit65b10253d62eba5badc2d5d1a2433e3b3d00f215
treeac027bf63c738e74bbe0e088b1d4a2c887cd8016
parentcc6f24380cdd2f696affc43b38f4b549792d8933
WPS: Ignore too long Device Name attribute

While it looks like all the users of this parsed attribute were able to
handle longer Device Name values, there is no valid use case for these
and to avoid any potential issues in upper layer components, enforce
maximum length (32 bytes) on the Device Name during parsing.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/wps/wps_attr_parse.c