commit | dd8b5f627d6e7715661d05bce88e1cb3231c8781 | [log] [tgz] |
---|---|---|
author | Nirmal Abraham <nabrah@codeaurora.org> | Wed May 22 10:09:34 2019 +0530 |
committer | Nirmal Abraham <nabrah@codeaurora.org> | Wed May 22 10:20:25 2019 +0530 |
tree | 870b4a492d893b914caad50eecba2de009b82daa | |
parent | 0149fb123b6c4f8f7faeb1a77a917b155c68c16f [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>