mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] ksmbd: fix some memory leaks in ksmbd_vfs_* functions
@ 2026-06-23  2:12 liuqiangneo
  2026-06-23  2:12 ` [PATCH 1/3] ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr liuqiangneo
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: liuqiangneo @ 2026-06-23  2:12 UTC (permalink / raw)
  To: linkinjeon, smfrench, chenxiaosong, senozhatsky, tom
  Cc: linux-cifs, linux-kernel, liuqiangneo, Qiang Liu

From: Qiang Liu <liuqiang@kylinos.cn>

This series fixes several memory leaks in ksmbd_vfs_* functions,
where dynamically allocated buffers were not freed on error paths.

Qiang Liu (3):
  ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr
  ksmbd: fix acl.sd_buf memory leak in ksmbd_vfs_get_sd_xattr
  ksmbd: fix n.data memory leak in ksmbd_vfs_set_dos_attrib_xattr

 fs/smb/server/vfs.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-23  2:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23  2:12 [PATCH 0/3] ksmbd: fix some memory leaks in ksmbd_vfs_* functions liuqiangneo
2026-06-23  2:12 ` [PATCH 1/3] ksmbd: fix sd_ndr.data memory leak in ksmbd_vfs_set_sd_xattr liuqiangneo
2026-06-23  2:28   ` ChenXiaoSong
2026-06-23  2:12 ` [PATCH 2/3] ksmbd: fix acl.sd_buf memory leak in ksmbd_vfs_get_sd_xattr liuqiangneo
2026-06-23  2:44   ` ChenXiaoSong
2026-06-23  2:12 ` [PATCH 3/3] ksmbd: fix n.data memory leak in ksmbd_vfs_set_dos_attrib_xattr liuqiangneo
2026-06-23  2:46   ` ChenXiaoSong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®