]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix prepend_err_str in LDAP KDB module
authorGreg Hudson <ghudson@mit.edu>
Tue, 29 Jan 2013 18:13:04 +0000 (13:13 -0500)
committerGreg Hudson <ghudson@mit.edu>
Tue, 29 Jan 2013 18:13:04 +0000 (13:13 -0500)
commite4e222a2471119733ddc1a8cfc648cc2be763974
tree1e9b9cecfdcec7db0559fe42d8467993da2d3189
parent8cbbd80f11d85fb733fb1522cd19eb686b6d3fe8
Fix prepend_err_str in LDAP KDB module

Use the oerr parameter to fetch the existing message.  Stop handling
oerr == 0, since no call sites were using it.  Free the old error
message before returning.
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c