[Date Prev][Date Next] [Chronological] [Thread] [Top]

patch for ud



	Take this.  It will fix problems with bind'ing and incorrect pws
causing ud to dump core.

diff -ur openldap-stable-980907/clients/ud/auth.c ldap-voyager/clients/ud/auth.c
--- openldap-stable-980907/clients/ud/auth.c    Sat Aug 22 11:38:29 1998
+++ ldap-voyager/clients/ud/auth.c      Tue Sep 15 12:29:46 1998
@@ -425,5 +425,6 @@
 
        if (bound_dn != NULL)
                Free(bound_dn);
-       bound_dn = strdup(s);
+       if (s != NULL)
+               bound_dn = strdup(s);
 }

-- 
Jared Mauch  | pgp key available via finger from jared@puck.nether.net
             | http://puck.nether.net/~jared/