diff options
| author | ZhangGuoDong <zhangguodong@kylinos.cn> | 2026-03-03 15:13:11 +0000 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-12 07:09:53 -0400 |
| commit | 23a55a200a6027f42f33accb8d0579a0a1f6cca4 (patch) | |
| tree | c64aeac572a5ba91c89cf1313aacbc1185652444 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4e8a0005d633a4adc98e3b65d5080f93b90d356b (diff) | |
smb/client: fix buffer size for smb311_posix_qinfo in smb2_compound_op()
[ Upstream commit 12c43a062acb0ac137fc2a4a106d4d084b8c5416 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
