Commit 7068d82e authored by Mohammad Asaad Akram's avatar Mohammad Asaad Akram
Browse files

wifihal: Fix possible buffer-overflow during TLV read

The function NANTLV_ReadTlv currently doesn't checks if the
amount of bytes in the TLV buffer is bigger than what is
encoded within the TLVs.

This commit adds checks for the availability of the buffer
before reading the incoming TLVs.

Change-Id: I0336ebbdcdc5db949ee275e22895ec83cdcafcc8
CRs-Fixed: 2836493
parent 907f5044
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment