diff options
| author | ZhangGuoDong <zhangguodong@kylinos.cn> | 2025-10-11 19:47:59 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-10-15 14:03:09 +0300 |
| commit | 6fced056d2cc8d01b326e6fcfabaacb9850b71a4 (patch) | |
| tree | c491924ae24dceb359981a5252601a8cbc158a20 /drivers/cdx/controller/cdx_controller.c | |
| parent | 39dec6cd888bde4171bd4b8fcf45f73ab684404d (diff) | |
| download | linux-6fced056d2cc8d01b326e6fcfabaacb9850b71a4.tar.xz | |
smb/server: fix possible memory leak in smb2_read()
Memory leak occurs when ksmbd_vfs_read() fails.
Fix this by adding the missing kvfree().
Co-developed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: ZhangGuoDong <zhangguodong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
