Files
linux-stable-mirror/fs
ZhangGuoDong 827c92c15a smb/client: fix buffer size for smb311_posix_qinfo in SMB311_posix_query_info()
[ Upstream commit 9621b996e4 ]

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: b1bc1874b8 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-13 17:20:43 +01:00
..
2025-07-10 16:05:08 +02:00
2026-01-08 10:14:31 +01:00
2026-03-04 07:20:52 -05:00
2026-03-04 07:21:10 -05:00
2026-01-08 10:14:49 +01:00
2025-10-12 12:57:17 +02:00
2026-01-17 16:31:15 +01:00
2025-01-23 17:22:55 +01:00
2025-03-22 12:54:15 -07:00
2025-12-18 13:55:17 +01:00
2025-10-29 14:08:51 +01:00
2024-12-05 14:02:47 +01:00
2025-07-10 16:05:08 +02:00
2026-01-08 10:13:54 +01:00
2026-01-08 10:14:49 +01:00
2025-01-17 13:40:50 +01:00
2026-03-13 17:20:36 +01:00