aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2022-01-22 10:47:22 +0900
committerSteve French <[email protected]>2022-01-23 18:19:04 -0600
commit9ca8581e79e51c57e60b3b8e3b89d816448f49fe (patch)
treebeaa16deed33c4e48e66c7c0c0d93347bd865dc6 /lib/test_overflow.c
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
ksmbd: fix SMB 3.11 posix extension mount failure
cifs client set 4 to DataLength of create_posix context, which mean Mode variable of create_posix context is only available. So buffer validation of ksmbd should check only the size of Mode except for the size of Reserved variable. Fixes: 8f77150c15f8 ("ksmbd: add buffer validation for SMB2_CREATE_CONTEXT") Cc: [email protected] # v5.15+ Reported-by: Steve French <[email protected]> Tested-by: Steve French <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions