From 182f6e20c349d5bf1e1eb199f0f5973b7a762a5f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 21 Feb 2003 18:51:27 +0000 Subject: [PATCH] Add a safety value --- libraries/liblutil/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5