mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Check for NULL before comparing authcid
This commit is contained in:
parent
d7060d19f3
commit
2d94a2016c
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@ slap_sasl_canonicalize(
|
|||
sasl_out_params_t dummy;
|
||||
int offset = (void *)&dummy.ulen - (void *)&dummy.authid;
|
||||
char **authid = (void *)out_len - offset;
|
||||
if ( !strcmp( in, *authid ) )
|
||||
if ( *authid && !strcmp( in, *authid ) )
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue