]> Git Repo - linux.git/commit
fs/smb/client: Reset password pointer to NULL
authorQuang Le <[email protected]>
Thu, 28 Sep 2023 17:44:13 +0000 (00:44 +0700)
committerSteve French <[email protected]>
Thu, 28 Sep 2023 19:49:51 +0000 (14:49 -0500)
commite6e43b8aa7cd3c3af686caf0c2e11819a886d705
tree49a09c3754101d8d3225a8c2345a029106a286e2
parent6465e260f48790807eef06b583b38ca9789b6072
fs/smb/client: Reset password pointer to NULL

Forget to reset ctx->password to NULL will lead to bug like double free

Cc: [email protected]
Cc: Willy Tarreau <[email protected]>
Reviewed-by: Namjae Jeon <[email protected]>
Signed-off-by: Quang Le <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/smb/client/fs_context.c
This page took 0.05543 seconds and 4 git commands to generate.