commit | 42ad74cecee04c8e6ba5e1e67fb7b884f5c63a7e | [log] [tgz] |
---|---|---|
author | Abhishek Singh <absingh@codeaurora.org> | Tue Mar 25 12:16:37 2014 +0530 |
committer | Anand N Sunkad <asunka@codeaurora.org> | Wed Dec 17 13:25:28 2014 +0530 |
tree | 3a4c439e4002694370cccbc29445e89d00364931 | |
parent | a714c1dd54f33b2d682a6da12d191268bf435e4c [diff] |
wcnss: Fix for Static analysis issues In wcnssctrl_rx_handler value of len could become negative after substracting sizeof(struct smd_msg_hdr) from len. There is no check to verify if value of len is less than sizeof(struct smd_msg_hdr). Adds proper check to verify if value of len is less than sizeof(struct smd_msg_hdr). Change-Id: I8a3bc9eb63e1b232023444bb8258bcdaccfa1c34 CRs-Fixed: 633938 Signed-off-by: Abhishek Singh <absingh@codeaurora.org>