mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 14:10:39 -05:00
assert expects int. (int)<nonnull ptr> can be 0. Use assert(arg!=NULL).
This commit is contained in:
parent
3ef684fd04
commit
a8eacbb355
1 changed files with 1 additions and 1 deletions
|
|
@ -1282,7 +1282,7 @@ ppolicy_add(
|
|||
if ((pa = attr_find( op->oq_add.rs_e->e_attrs,
|
||||
slap_schema.si_ad_userPassword )))
|
||||
{
|
||||
assert( pa->a_vals );
|
||||
assert( pa->a_vals != NULL );
|
||||
assert( !BER_BVISNULL( &pa->a_vals[ 0 ] ) );
|
||||
|
||||
if ( !BER_BVISNULL( &pa->a_vals[ 1 ] ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue