diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2010-02-10 17:19:43 -0800 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-02-10 17:19:43 -0800 |
commit | 508af98564fd93bf0eed9093c6b551e806ebee81 (patch) | |
tree | f9361422c8fd0eaa6903c80543f21c76a23988a3 /ldap/servers/slapd/libglobs.c | |
parent | f81e7eac08e2af16fa6b8d245525c4a5ac5eb6f7 (diff) | |
download | ds-508af98564fd93bf0eed9093c6b551e806ebee81.tar.gz ds-508af98564fd93bf0eed9093c6b551e806ebee81.tar.xz ds-508af98564fd93bf0eed9093c6b551e806ebee81.zip |
563365 - Error handling problems in the backend functions
https://bugzilla.redhat.com/show_bug.cgi?id=563365
1) Error handling in ldbm_back_{add,delete,modify,modrdn} functions was
incomplete. When any error occurs after the transaction begins, the
changes made after that should be aborted. There were some cases the
abort was not called.
2) If modrdn failed in ldbm_back_modrdn, new DN in the DN cache was not
removed.
3) config_set_instancedir in libglobs.c was missing the function type.
Diffstat (limited to 'ldap/servers/slapd/libglobs.c')
-rw-r--r-- | ldap/servers/slapd/libglobs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/slapd/libglobs.c b/ldap/servers/slapd/libglobs.c index efbda9ce..c4026ac6 100644 --- a/ldap/servers/slapd/libglobs.c +++ b/ldap/servers/slapd/libglobs.c @@ -4874,6 +4874,7 @@ config_get_instancedir() return retVal; } +int config_set_instancedir(const char *attrname, char *value, char *errorbuf, int apply) { int retVal = LDAP_SUCCESS; |