Bug 6967 - net ads join with OU fails with glibc error on free()
Summary: net ads join with OU fails with glibc error on free()
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.4.2
Hardware: All Linux
: P3 major
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-12-04 11:40 UTC by Jim McDonough
Modified: 2020-12-11 09:41 UTC (History)
0 users

See Also:

backport to 3.4 (741 bytes, patch)
2009-12-04 11:50 UTC, Jim McDonough
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McDonough 2009-12-04 11:40:13 UTC
Because talloc()ed memory is freed using SAFE_FREE() in libads/ldap.c:ads_move_machine_account, glibc aborts and shows:

*** glibc detected *** /usr/bin/net: free(): invalid pointer: 0x00007ffff82b9530 ***
Comment 1 Jim McDonough 2009-12-04 11:50:10 UTC
Created attachment 5056 [details]
backport to 3.4
Comment 2 Jim McDonough 2009-12-04 11:53:09 UTC
Bo, please review.  

Karolin, pending Bo's review, please merge this into the next 3.4.  Thanks!
Comment 3 Bo Yang 2009-12-04 22:14:42 UTC
+1 from me.

Sorry that I have no right to edit the attachment. :-(
Comment 4 Karolin Seeger 2009-12-07 08:57:32 UTC
Pushed to v3-4-test.
Closing out bug report.