FT: Check FT, MD, and Timeout Interval length in the parser
All the existing users of these elements were already validating the element length. However, it is clearer to validate this already at the parser for extra layer of protection for any future changes. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c9bf7b6623
commit
ae7a42bde2
4 changed files with 16 additions and 5 deletions
|
@ -306,7 +306,6 @@ struct wpa_igtk_kde {
|
|||
} STRUCT_PACKED;
|
||||
#endif /* CONFIG_IEEE80211W */
|
||||
|
||||
#ifdef CONFIG_IEEE80211R
|
||||
struct rsn_mdie {
|
||||
u8 mobility_domain[MOBILITY_DOMAIN_ID_LEN];
|
||||
u8 ft_capab;
|
||||
|
@ -334,7 +333,6 @@ struct rsn_rdie {
|
|||
le16 status_code;
|
||||
} STRUCT_PACKED;
|
||||
|
||||
#endif /* CONFIG_IEEE80211R */
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma pack(pop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue