commit | 3e20090b5b0e8759cd2dc6fbaefebfc2799342f8 | [log] [tgz] |
---|---|---|
author | Katish Paran <kparan@codeaurora.org> | Tue Dec 24 17:46:29 2013 +0530 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Thu Jan 09 13:58:29 2014 -0800 |
tree | 22b77c39d70a0f7895d2ed395040d409191bcb1d | |
parent | bccb3c510a225601ab4ee195c430f621d7a15829 [diff] |
diag: Safeguard for bound checks and integer underflow At certain point in diag driver there can be integer underflow and thus can lead to memory leak. Bound checks are placed to ensure correct behavior of condition statements. Change-Id: I47e02f764c2c7412db6f90fd42192fee32a761d3 CRs-fixed: 549470 Signed-off-by: Katish Paran <kparan@codeaurora.org>