[Freeipa-devel] [PATCH 101] Fix error handling in ldap_entry_create()
Petr Spacek
pspacek at redhat.com
Wed Nov 21 15:04:09 UTC 2012
Hello,
I noticed this problem during investigation of dead code found by Clang.
Fix error handling in ldap_entry_create().
Jump to cleanup section after first memory allocation created memory leak
which crashed BIND on reload.
Missing return value check after ldap_get_dn() call can lead to crash.
--
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0101-Fix-error-handling-in-ldap_entry_create.patch
Type: text/x-patch
Size: 2452 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20121121/59a30a6e/attachment.bin>
More information about the Freeipa-devel
mailing list