From: Kurt Zeilenga Date: Fri, 21 Feb 2003 18:51:27 +0000 (+0000) Subject: Add a safety value X-Git-Tag: NO_SLAP_OP_BLOCKS~324 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=182f6e20c349d5bf1e1eb199f0f5973b7a762a5f;p=openldap Add a safety value --- diff --git a/libraries/liblutil/sasl.c b/libraries/liblutil/sasl.c index 0746cf6447..c3e8154f1e 100644 --- a/libraries/liblutil/sasl.c +++ b/libraries/liblutil/sasl.c @@ -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;