diff options
| author | raghavendra ambadas <rambad@codeaurora.org> | 2019-07-24 14:23:45 +0530 |
|---|---|---|
| committer | raghavendra ambadas <rambad@codeaurora.org> | 2019-07-25 10:10:08 +0530 |
| commit | 9ddd05897c84e630bf15e8efbe88773c7544a2c0 (patch) | |
| tree | 44c79d435383a473029692f5ec764bd283a3c229 /net/ipv4/tcp_output.c | |
| parent | 4461eef69d3ea6b621af30636cf3ee05e3184d81 (diff) | |
drm/msm/dsi-staging: Add length check before copying to user space
Add a check to make sure that the length of bytes copied to the
destination buffer doesn't exceed the requested buffer count
before calling the copy_to_user to avoid buffer overflow.
Change-Id: Ice834a9e024b09f3b6041399ff55dec00e75b9ef
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
