diff options
| author | ZhangGuoDong <zhangguodong@kylinos.cn> | 2026-03-03 15:13:12 +0000 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-03-03 18:03:56 -0600 |
| commit | 9621b996e4db1dbc2b3dc5d5910b7d6179397320 (patch) | |
| tree | 3867b3d635563c68f3fcedac7878ab9341e8dc81 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 12c43a062acb0ac137fc2a4a106d4d084b8c5416 (diff) | |
smb/client: fix buffer size for smb311_posix_qinfo in SMB311_posix_query_info()
SMB311_posix_query_info() is currently unused, but it may still be used in
some stable versions, so these changes are submitted as a separate patch.
Use `sizeof(struct smb311_posix_qinfo)` instead of sizeof its pointer,
so the allocated buffer matches the actual struct size.
Fixes: b1bc1874b885 ("smb311: Add support for SMB311 query info (non-compounded)")
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
