The Samba-Bugzilla – Attachment 4888 Details for
Bug 6814
Fixes for problems reported by valgrind
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
smbldap_state is not freed when verify_idpool() fails
samba-3.4.2-idmap_ldap_alloc_init.patch (text/plain), 516 bytes, created by
Roel van Meer
on 2009-10-26 11:44:49 UTC
(
hide
)
Description:
smbldap_state is not freed when verify_idpool() fails
Filename:
MIME Type:
Creator:
Roel van Meer
Created:
2009-10-26 11:44:49 UTC
Size:
516 bytes
patch
obsolete
>diff -ruN samba-3.4.2.orig/source3/winbindd/idmap_ldap.c samba-3.4.2.test/source3/winbindd/idmap_ldap.c >--- samba-3.4.2.orig/source3/winbindd/idmap_ldap.c 2009-09-30 14:17:40.000000000 +0200 >+++ samba-3.4.2.test/source3/winbindd/idmap_ldap.c 2009-10-26 17:40:06.000000000 +0100 >@@ -341,6 +341,8 @@ > /* see if the idmap suffix and sub entries exists */ > > ret = verify_idpool(); >+ if ( !NT_STATUS_IS_OK( ret ) ) >+ smbldap_free_struct( &idmap_alloc_ldap->smbldap_state ); > > done: > if ( !NT_STATUS_IS_OK( ret ) )
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 6814
:
4851
|
4852
|
4853
|
4859
|
4861
| 4888 |
4993
|
5424
|
5429
|
5430