for( j=0; values[j] != NULL; j++ ) {
-
/* Isolate how many words there are. There will be a key for each */
val = ch_strdup( values[j]->bv_val );
for( wordcount=0,c=val; *c; c++) {
int i, count, len;
struct berval **keys;
-
/* Isolate how many words there are. There will be a key for each */
val = ch_strdup( ((struct berval *)assertValue)->bv_val );
for( count=0,c=val; *c; c++) {
int i;
struct berval **keys;
-
for( i=0; values[i] != NULL; i++ ) {
/* just count them */
}
{
struct berval **keys;
-
keys = (struct berval **)ch_malloc( sizeof( struct berval * ) * 2 );
/* Copy the value and run it through phonetic() */
}
}
- 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';