Commit f50076b7 authored by Shalabh Jain's avatar Shalabh Jain
Browse files

diag: Add sanity check for data



DIAG driver communicates to peripherals over SMD channels. It parses
data read and then takes appropriate actions. Sometimes, SMD can pass
corrupted data and cause DIAG driver to crash. Adding checks around
data will prevent such crashes.

Change-Id: Ic82b1e31557eb432e57f3f6b152b22c1d3f5cd37
Signed-off-by: default avatarShalabh Jain <shalabhj@codeaurora.org>
parent ec1aec59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment