commit | 5d2a4a874b50c2e9ea2da176b97d810a098486fc | [log] [tgz] |
---|---|---|
author | Ravi Aravamudhan <aravamud@codeaurora.org> | Mon Feb 11 18:56:36 2013 -0800 |
committer | Jay Chokshi <jchokshi@codeaurora.org> | Thu Feb 14 20:07:06 2013 -0800 |
tree | 3755b90bb55a850c3874574e373f1b41f30e0d73 | |
parent | b9684edb7cadd46b638f62c35c2d2ff3db1929b3 [diff] |
diag: Add safeguards to prevent Integer Underflow and Memory Leak At certain areas in the Diag driver, Integer overflow can occur. Also, there is a possible memory leak in when a user space program makes a ioctl call. This change fixes these issues. Change-Id: I37e2b2d1f02983011a1db5f163354af4090f76f0 CRs-Fixed: 416995 CRs-Fixed: 416758 CRs-Fixed: 416953 Signed-off-by: Ravi Aravamudhan <aravamud@codeaurora.org>