commit | f7e265a912ec9139ffda9d4819eb40c4166ab502 | [log] [tgz] |
---|---|---|
author | Ashay Jaiswal <ashayj@codeaurora.org> | Wed Jun 05 13:24:38 2013 +0530 |
committer | Ashay Jaiswal <ashayj@codeaurora.org> | Wed Jun 05 14:19:40 2013 +0530 |
tree | e5bd3f42039c58e04768e083fc7b2824aa430781 | |
parent | 4fcb5c97be5fa92b9af2283a96d9201d69754c8d [diff] |
diag: Fix diag crash due to memory corruption Diag allocates memory based on the count received from userspace. Add check to validate the memory pointer before derefencing it. CRs-Fixed: 487981 Change-Id: Ibfee22d02bb2312192de7c811d9917ecab728269 Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>