aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
authorSaket Saurabh <ssaurabh@codeaurora.org>2013-09-30 17:33:57 +0530
committerSaket Saurabh <ssaurabh@codeaurora.org>2013-09-30 17:52:47 +0530
commit8756624acb1e090b45baf07b2a8d0ebde114000e (patch)
treefa9cbc5b60543efec0b39c2f775520dbfc7cef25 /scripts/build-all.py
parent27c6afdee140a7fde81430121667cb87f1e4d36f (diff)
ehci-msm2: Add boundary check in echi driver
This change adds boundary check before copying data from userspace buffer to ehci local buffer. The third parameter passed to copy_from_user() should be minimum of the two values between userpsace buffer size count and (local_buffer size - 1). The last one byte in local_buffer should be reserved for null terminator. CRs-Fixed: 547910 Change-Id: Id3c5432aa3fae3ce9759056b5481b9f516df7764 Signed-off-by: Saket Saurabh <ssaurabh@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions