The Samba-Bugzilla – Attachment 5056 Details for
Bug 6967
net ads join with OU fails with glibc error on free()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
backport to 3.4
0001-s3-Prevent-glibc-errors-talloc-ed-memory-should-not-.patch (text/plain), 741 bytes, created by
Jim McDonough
on 2009-12-04 11:50:10 UTC
(
hide
)
Description:
backport to 3.4
Filename:
MIME Type:
Creator:
Jim McDonough
Created:
2009-12-04 11:50:10 UTC
Size:
741 bytes
patch
obsolete
>From 408e806f27a57c5e1f222e21ba992ca9c0d2680c Mon Sep 17 00:00:00 2001 >From: Jim McDonough <jmcd@samba.org> >Date: Fri, 4 Dec 2009 12:31:53 -0500 >Subject: [PATCH] s3: Prevent glibc errors: talloc()ed memory should not be SAFE_FREE()ed. > >--- > source3/libads/ldap.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c >index 2013344..1fb541d 100644 >--- a/source3/libads/ldap.c >+++ b/source3/libads/ldap.c >@@ -2076,7 +2076,7 @@ ADS_STATUS ads_move_machine_acct(ADS_STRUCT *ads, const char *machine_name, > done: > ads_msgfree(ads, res); > SAFE_FREE(filter); >- SAFE_FREE(computer_dn); >+ TALLOC_FREE(computer_dn); > SAFE_FREE(computer_rdn); > > if (!ADS_ERR_OK(rc)) { >-- >1.6.4.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6967
: 5056