]> git.sur5r.net Git - openldap/commitdiff
Add a safety value
authorKurt Zeilenga <kurt@openldap.org>
Fri, 21 Feb 2003 18:51:27 +0000 (18:51 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 21 Feb 2003 18:51:27 +0000 (18:51 +0000)
libraries/liblutil/sasl.c

index 0746cf6447e8605a794f41cdb908b1e477b56c07..c3e8154f1e9616b1d86bfed039974722c6978b2e 100644 (file)
@@ -190,7 +190,7 @@ int lutil_sasl_interact(
 {
        sasl_interact_t *interact = in;
 
-       if( interact->result ) {
+       if( interact && interact->result ) {
                /* we have results from a previous interaction */
                free( interact->result );
                interact->result = NULL;