aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2021-05-31 17:26:43 +0900
committerNamjae Jeon <[email protected]>2021-06-01 09:26:22 +0900
commit2ae1a6cc43027d84e33819ac4376c5e5e11b4152 (patch)
tree68d758c65f564dea50368d3c88418059bb5dc97b /lib/debugobjects.c
parentfd6de099d7fabc2b86f51dc622453eb279f7cce9 (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 <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions