commit | 6b94f71dcd16d88845759dad90c13d41675da6e9 | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Sun Apr 19 17:17:37 2015 +0300 |
committer | Jouni Malinen <j@w1.fi> | Wed Apr 22 22:05:12 2015 +0300 |
tree | 116ab5dcaebebdacd6c4eb995ce3e0d9088e268e | |
parent | f4b64c603e1f3764c4ffa42b3b7c74c8fa284542 [diff] |
WPS: Truncate variable length string attributes to maximum length This enforces variable length strings Manufacturer, Model Name, Model Number, and Serial Number to be within the maximum length defined in the WSC specification. While none of the existing users for these within hostapd/wpa_supplicant had problems with longer strings, it is good to ensure the strings are not longer to avoid potential issues at higher layer components. Signed-off-by: Jouni Malinen <j@w1.fi>