git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffedf5a
)
Under certain error conditions (a talloc() failure above) this would cause
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 2 Jan 2004 11:39:07 +0000
(11:39 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 2 Jan 2004 11:39:07 +0000
(11:39 +0000)
a double-free(), and the resultant malloc heap corruption.
This may be one of our lurking winbind segfaults.
Andrew Bartlett
(This used to be commit
903263a1bdb755f86dac3a9a92a4af39c8b102c4
)
source3/nsswitch/winbindd_ads.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_ads.c
b/source3/nsswitch/winbindd_ads.c
index 2fcf02a3164ddc8edbe35e05461b4eef7ce9aa01..4b1230469324667a46c4625b1c3fd088dce42d97 100644
(file)
--- a/
source3/nsswitch/winbindd_ads.c
+++ b/
source3/nsswitch/winbindd_ads.c
@@
-554,8
+554,6
@@
static NTSTATUS lookup_usergroups_alt(struct winbindd_domain *domain,
done:
if (res)
ads_msgfree(ads, res);
- if (msg)
- ads_msgfree(ads, msg);
return status;
}