Skip to content
Snippets Groups Projects
Commit 466521d3 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

check call consistency

parent a97dfcb6
No related branches found
No related tags found
No related merge requests found
...@@ -3508,6 +3508,9 @@ hexNormalize( ...@@ -3508,6 +3508,9 @@ hexNormalize(
{ {
int i; int i;
assert( val != NULL );
assert( normalized != NULL );
ber_dupbv_x( normalized, val, ctx ); ber_dupbv_x( normalized, val, ctx );
for ( i = 0; i < normalized->bv_len; i++ ) { for ( i = 0; i < normalized->bv_len; i++ ) {
...@@ -3803,6 +3806,9 @@ csnNormalize( ...@@ -3803,6 +3806,9 @@ csnNormalize(
char *ptr; char *ptr;
int i; int i;
assert( val != NULL );
assert( normalized != NULL )
assert( SLAP_MR_IS_VALUE_OF_SYNTAX( usage ) != 0 ); assert( SLAP_MR_IS_VALUE_OF_SYNTAX( usage ) != 0 );
if ( BER_BVISEMPTY( val ) ) { if ( BER_BVISEMPTY( val ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment