commit | 21a557f27363ad4a3ac42e542c349a3636a8671b | [log] [tgz] |
---|---|---|
author | Varuneshwar Petlozu <vpetlozu@codeaurora.org> | Thu Jul 04 15:11:02 2019 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Mon Aug 12 01:27:48 2019 -0700 |
tree | 3bea7b5b6a0e492dfe194636559564b135d9724d | |
parent | 22e58ce9f1b9819726a1774dbda1f9e575a53ddb [diff] |
qcacmn: Add null check for event fields in extract_ndp_ind_tlv In the function extract_ndp_ind_tlv the data from FW is assigned to the event.The event fields ndp_cfg, ndp_app_info and ndp_scid are used as source in the memcpy without null check which can cause undefined behaviour. To solve this, add null check for ndp_cfg, ndp_app_info and ndp_scid before memcpy use. Change-Id: I4bf592e6977c50518e53ece268c34450d9684304 CRs-Fixed: 2476173