diff options
author | 2021-05-31 17:26:43 +0900 | |
---|---|---|
committer | 2021-06-01 09:26:22 +0900 | |
commit | 2ae1a6cc43027d84e33819ac4376c5e5e11b4152 (patch) | |
tree | 68d758c65f564dea50368d3c88418059bb5dc97b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cifsd: check return value of ksmbd_vfs_getcasexattr() correctly (diff) | |
download | linux-dev-2ae1a6cc43027d84e33819ac4376c5e5e11b4152.tar.xz linux-dev-2ae1a6cc43027d84e33819ac4376c5e5e11b4152.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions