aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2024-08-20 13:07:38 +0000
committerSteve French <[email protected]>2024-08-22 14:52:00 +0000
commitce61b605a00502c59311d0a4b1f58d62b48272d0 (patch)
treee341b78f24cbf90f133291be99bfefc97d7c7eb7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentMerge tag '6.11-rc4-server-fixes' of git://git.samba.org/ksmbd (diff)
downloadkernel-ce61b605a00502c59311d0a4b1f58d62b48272d0.tar.gz
kernel-ce61b605a00502c59311d0a4b1f58d62b48272d0.zip
ksmbd: the buffer of smb2 query dir response has at least 1 byte
When STATUS_NO_MORE_FILES status is set to smb2 query dir response, ->StructureSize is set to 9, which mean buffer has 1 byte. This issue occurs because ->Buffer[1] in smb2_query_directory_rsp to flex-array. Fixes: eb3e28c1e89b ("smb3: Replace smb2pdu 1-element arrays with flex-arrays") Cc: [email protected] # v6.1+ Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions