In ldap_extended_operation_s, check for NULL retoidp and retdatap

before storing NULL.
This commit is contained in:
Howard Chu 2002-06-13 16:26:47 +00:00
parent c5de2fd6fd
commit 56cba7f97c

View file

@ -138,8 +138,8 @@ ldap_extended_operation_s(
return( ld->ld_errno );
}
*retoidp = NULL;
*retdatap = NULL;
if ( retoidp != NULL ) *retoidp = NULL;
if ( retdatap != NULL ) *retdatap = NULL;
rc = ldap_parse_extended_result( ld, res, retoidp, retdatap, 0 );