03e2b595446db591673c11ea1c009399a04c2d58

If (length + 1) is greater than priv_data.total_len then copy_to_user results in writing more data than the buffer can hold. Fix this by writing mininum of (length + 1) and priv_data->total_len. Change-Id: If0c74b3c6c76ee3ca296fd8e0e844b9c53c30498 CRs-Fixed: 2386056
This is CNSS WLAN Host Driver for products starting from iHelium
Beskrivning
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%