mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
check the length of the value with the right index (blind fix to ITS#5779)
This commit is contained in:
parent
df5196b745
commit
00accc69c4
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ backsql_load_schema_map( backsql_info *bi, SQLHDBC dbh )
|
|||
int i;
|
||||
|
||||
for ( i = 0; required[ i ].name != NULL; i++ ) {
|
||||
if ( oc_row.value_len[ i ] <= 0 ) {
|
||||
if ( oc_row.value_len[ required[ i ].idx ] <= 0 ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"backsql_load_schema_map(): "
|
||||
"required column #%d \"%s\" is empty\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue