git.samba.org
/
abartlet
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8591d94
)
nsswitch:libwbclient - fix leak in wbcCtxPingDc2
author
Andrew Walker
<awalker@ixsystems.com>
Fri, 2 Sep 2022 20:31:32 +0000
(16:31 -0400)
committer
Jeremy Allison
<jra@samba.org>
Tue, 6 Sep 2022 20:10:17 +0000
(20:10 +0000)
Memory allocated for response is never freed.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15164
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 6 20:10:17 UTC 2022 on sn-devel-184
nsswitch/libwbclient/wbc_pam.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_pam.c
b/nsswitch/libwbclient/wbc_pam.c
index b4bb2678ad0d16aa97e0bcc8e8c6af6c9ff1c573..4df0ffe2eb5f39d7f39c3b6feb06536716b6b8f1 100644
(file)
--- a/
nsswitch/libwbclient/wbc_pam.c
+++ b/
nsswitch/libwbclient/wbc_pam.c
@@
-731,6
+731,7
@@
wbcErr wbcCtxPingDc2(struct wbcContext *ctx, const char *domain,
BAIL_ON_WBC_ERROR(wbc_status);
done:
+ winbindd_free_response(&response);
return wbc_status;
}