TDLS: Validate ext_supp_rates in copy_supp_rates
authorSunil Dutt <c_duttus@qti.qualcomm.com>
Thu, 20 Jun 2013 12:10:15 +0000 (15:10 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 20 Jun 2013 12:10:15 +0000 (15:10 +0300)
commit87436760a20d38140fcdc2adb45c16289c416ab8
treefc49269d8c598c295e8a78528f8822b71b398341
parent85b4eac3640df53d8ea099d6b98fb8218e510b91
TDLS: Validate ext_supp_rates in copy_supp_rates

The ext_supp_rates passed to merge_byte_arrays would be invalid if not
advertized by the TDLS peer. Thus, validate the argument to avoid
crashes in such cases.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/tdls.c