Skip to content
Snippets Groups Projects
Commit 4a8bb399 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2961 check for NULL authcDN

parent b78701da
No related branches found
No related tags found
No related merge requests found
......@@ -897,6 +897,12 @@ slap_sasl_authorize(
/* Skip PROP_CONN */
prop_getnames( props, slap_propnames+1, auxvals );
/* Should not happen */
if ( !auxvals[0].values ) {
sasl_seterror( sconn, 0, "invalid authcid" );
return SASL_NOAUTHZ;
}
AC_MEMCPY( &authcDN, auxvals[0].values[0], sizeof(authcDN) );
/* Nothing to do if no authzID was given */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment