git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3001e8
)
source3/winbindd/winbindd_pam.c: fix stackframe leak
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:38:31 +0000
(
05:08
+0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 17 Jul 2012 19:38:31 +0000
(
05:08
+0930)
check_info3_in_group() doesn't always free its stackframe.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
source3/winbindd/winbindd_pam.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_pam.c
b/source3/winbindd/winbindd_pam.c
index 216e1ffc339e6d3a77fd9078b45296809305d62d..96956d071ef71936d903a28b271ebf35df669eda 100644
(file)
--- a/
source3/winbindd/winbindd_pam.c
+++ b/
source3/winbindd/winbindd_pam.c
@@
-271,6
+271,7
@@
static NTSTATUS check_info3_in_group(struct netr_SamInfo3 *info3,
if (!group_sid || !group_sid[0]) {
/* NO sid supplied, all users may access */
+ TALLOC_FREE(frame);
return NT_STATUS_OK;
}