commit | 79979d60615295ad82ca4ec30c339b34b4a21aad | [log] [tgz] |
---|---|---|
author | Rakesh Pillai <pillair@codeaurora.org> | Sat Feb 29 20:42:28 2020 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Wed Mar 04 13:55:10 2020 -0800 |
tree | 3fb3bb6d4f8f23b645e647e2a1d3fb447a2118ca | |
parent | 0bbce7580bf3fa2c88fe99d1738b16b90abf9e57 [diff] |
qcacmn: Validate the rx descriptor before dereferencing The rx descriptor obtained using the cookie can be NULL if the cookie is invalid. Hence dereferencing the rx descriptor without any validation can cause invalid address access. Fix this by validating the rx descriptor which has been obtained using the cookie from the hal ring descriptor. Change-Id: Ib584f0d8175b581d15b0e1c67d2f6ed9119ecbfc CRs-Fixed: 2629254