diff options
author | Namjae Jeon <[email protected]> | 2023-03-07 21:56:07 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2023-03-22 16:38:33 -0500 |
commit | 342edb60dcda7a409430359b0cac2864bb9dfe44 (patch) | |
tree | 310947d85d407dea229cbf59d85edc4247cd867e /scripts/gdb/linux/tasks.py | |
parent | 2d74ec97131b1179a373b6d521f195c84e894eb6 (diff) |
ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
Smatch static checker warning:
fs/ksmbd/vfs.c:1040 ksmbd_vfs_fqar_lseek() warn: no lower bound on 'length'
fs/ksmbd/vfs.c:1041 ksmbd_vfs_fqar_lseek() warn: no lower bound on 'start'
Fix unexpected result that could caused from negative start and length.
Fixes: f44158485826 ("cifsd: add file operations")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions