commit | 9996da3f79039bc6cdcf12bc22c9b50cb2ed88d4 | [log] [tgz] |
---|---|---|
author | Saket Saurabh <ssaurabh@codeaurora.org> | Mon Sep 30 12:53:11 2013 +0530 |
committer | Saket Saurabh <ssaurabh@codeaurora.org> | Tue Dec 17 19:26:39 2013 +0530 |
tree | cdbbf8d13ef3440ac9e3f80f6c0991963417e6a1 | |
parent | f67c7899f9e5386f06c83205fd371d5217cf9cb6 [diff] |
hsic_sysmon_test: Add check for userspace buffer size count hsic_sysmon_test local buffer size limit is 4096 bytes. If user space tries to write data with size greater than 4096 bytes, memory corruption would happen. Hence, add check for userspace buffer size count before writing data from userspace buffer to hsic_sysmon_test local buffer. CRs-Fixed: 547489 Change-Id: I29b286451395bef68a879baa0366dcef56d489c4 Signed-off-by: Saket Saurabh <ssaurabh@codeaurora.org>