diff options
| -rw-r--r-- | core/mac/src/sys/legacy/src/utils/src/parser_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mac/src/sys/legacy/src/utils/src/parser_api.c b/core/mac/src/sys/legacy/src/utils/src/parser_api.c index 13bc578342cd..4b4fa3567867 100644 --- a/core/mac/src/sys/legacy/src/utils/src/parser_api.c +++ b/core/mac/src/sys/legacy/src/utils/src/parser_api.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -2949,7 +2949,7 @@ sir_convert_assoc_resp_frame2_struct(tpAniSirGlobal pMac, sizeof(tDot11fIEFTInfo)); } - if (ar.num_RICDataDesc) { + if (ar.num_RICDataDesc <= 2) { for (cnt = 0; cnt < ar.num_RICDataDesc; cnt++) { if (ar.RICDataDesc[cnt].present) { qdf_mem_copy(&pAssocRsp->RICData[cnt], |
