summaryrefslogtreecommitdiff
path: root/kernel/locking/spinlock_debug.c
diff options
context:
space:
mode:
authorNirmal Abraham <nabrah@codeaurora.org>2019-05-22 10:09:34 +0530
committerraghavendra ambadas <rambad@codeaurora.org>2019-06-05 11:36:14 +0530
commit5e073ffd6668d78fc9b6073511c99b974b4fcf7c (patch)
tree9bcc35b12bbcc36dfa3d061b4f02a67c60ed1b76 /kernel/locking/spinlock_debug.c
parent14ff0dc12ed0f303ca432174d0c5b142a0299172 (diff)
drm/msm/dsi-staging: Add range check in debugfs_dump_info_read
Add a check to make sure that the length of bytes copied to the destination buffer doesn't exceed the requested buffer length before calling the copy_to_user to avoid buffer overflow. Change-Id: Icd65b9be2791a8a487dfc8d7461aadce61de3f1b Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
Diffstat (limited to 'kernel/locking/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions