diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2021-05-31 17:26:43 +0900 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-01 09:26:22 +0900 |
commit | 2ae1a6cc43027d84e33819ac4376c5e5e11b4152 (patch) | |
tree | 68d758c65f564dea50368d3c88418059bb5dc97b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fd6de099d7fabc2b86f51dc622453eb279f7cce9 (diff) |
cifsd: fix potential read overflow in ksmbd_vfs_stream_read()
If *pos or *pos + count is greater than v_len, It will read beyond
the stream_buf buffer. This patch add the check and cut down count with
size of the buffer.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions