git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ddf479
)
netlogon_creds_cli: Fix talloc_stackframe leaks
author
Volker Lendecke
<vl@samba.org>
Wed, 13 Sep 2017 11:10:59 +0000
(
04:10
-0700)
committer
Volker Lendecke
<vl@samba.org>
Mon, 25 Sep 2017 07:43:11 +0000
(09:43 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/auth/netlogon_creds_cli.c
patch
|
blob
|
history
diff --git
a/libcli/auth/netlogon_creds_cli.c
b/libcli/auth/netlogon_creds_cli.c
index dc05316ac134b50c6232aeb0b54fd1c4c0d5a1f4..847922c0256f2b6e58331e24d1f4eec2d47db03d 100644
(file)
--- a/
libcli/auth/netlogon_creds_cli.c
+++ b/
libcli/auth/netlogon_creds_cli.c
@@
-272,11
+272,13
@@
NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx,
*_context = NULL;
if (msg_ctx == NULL) {
+ TALLOC_FREE(frame);
return NT_STATUS_INVALID_PARAMETER_MIX;
}
client_computer = lpcfg_netbios_name(lp_ctx);
if (strlen(client_computer) > 15) {
+ TALLOC_FREE(frame);
return NT_STATUS_INVALID_PARAMETER_MIX;
}