mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
Add a safety value
This commit is contained in:
parent
eb161745a4
commit
182f6e20c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user