diff options
| author | ZhangGuoDong <zhangguodong@kylinos.cn> | 2026-03-03 15:13:11 +0000 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-03-03 18:03:56 -0600 |
| commit | 12c43a062acb0ac137fc2a4a106d4d084b8c5416 (patch) | |
| tree | cf03a755dfd8e414d0ce3036a70c0cf6a20316b6 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 6f0402539b7da2b941a5a43754c15e53ac3cc276 (diff) | |
smb/client: fix buffer size for smb311_posix_qinfo in smb2_compound_op()
Use `sizeof(struct smb311_posix_qinfo)` instead of sizeof its pointer,
so the allocated buffer matches the actual struct size.
Fixes: 6a5f6592a0b6 ("SMB311: Add support for query info using posix extensions (level 100)")
Reported-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: ZhangGuoDong <zhangguodong@kylinos.cn>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
