Commit 8963ac56 authored by Swarn Singh's avatar Swarn Singh
Browse files

WiFi-Hal: Validating variables before doing memcpy

Added a NULL check for iface_info, mwifi_iface_mac_info
and pkt_stats before doing memcpy to remove possible NULL
pointer dereferenced. Also removed the NULL checks for 'ref'
pointer

Change-Id: I58b10609e0e05c6f09106033af7698c5c7795821
CRs-Fixed: 2468569
parent 9a46ddc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment