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
Loading
Please register or sign in to comment