mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-11 13:50:39 +08:00
Fix numeric match assert
This commit is contained in:
parent
82f3982b8f
commit
1a895e67dc
@ -243,4 +243,5 @@ find_extop( extop_list_t *list, char *oid )
|
||||
return(ext);
|
||||
}
|
||||
return(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3216,8 +3216,8 @@ numericStringNormalize(
|
||||
}
|
||||
}
|
||||
|
||||
assert( newval->bv_val <= p );
|
||||
assert( q <= p );
|
||||
/* we should have copied no more then is in val */
|
||||
assert( (q - newval->bv_val) <= (p - val->bv_val) );
|
||||
|
||||
/* null terminate */
|
||||
*q = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user