mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
Fix uninitialized value ptr bug
This commit is contained in:
parent
9de590cf26
commit
f207bd9dd2
1 changed files with 2 additions and 2 deletions
|
|
@ -923,13 +923,13 @@ int caseExactIA5SubstringsIndexer(
|
|||
int j,max;
|
||||
struct berval *value;
|
||||
|
||||
value = values[i];
|
||||
|
||||
if( value->bv_len < SLAP_INDEX_SUBSTR_MINLEN ) continue;
|
||||
|
||||
max = SLAP_INDEX_SUBSTR_MAXLEN < value->bv_len
|
||||
? SLAP_INDEX_SUBSTR_MAXLEN : value->bv_len;
|
||||
|
||||
value = values[i];
|
||||
|
||||
for( j=SLAP_INDEX_SUBSTR_MINLEN; j<=max; j++ ) {
|
||||
char pre;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue