c352d6073172d79d731ae7349af910debf717d77

In wmi_unified_cmd_send, the skb head is pushed by size of WMI_CMD_HDR and then the commandId is initialized in the header. However 1 byte of reserved memory in the WMI_CMD_HDR is not initialized and is sent to the FW as it is and this might lead to exposure of 1 byte of kernel memory to FW. Initialize the WMI_CMD_HDR to zero once the skb head is pushed and then set the commandId in the header. Change-Id: I89fd5401105cd9c61674a63aac5aa88fb20cc41a CRs-Fixed: 2257688
This is CNSS WLAN Host Driver for products starting from iHelium
Leírás
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%