mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fix recently introduced off-by-one error
This commit is contained in:
parent
a4331a67f4
commit
a1ee3c74d1
@ -1087,7 +1087,7 @@ PHP_FUNCTION(odbc_execute)
|
||||
efree(params);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
if (i++ > result->numparams) break;
|
||||
if (++i > result->numparams) break;
|
||||
} ZEND_HASH_FOREACH_END();
|
||||
}
|
||||
/* Close cursor, needed for doing multiple selects */
|
||||
|
Loading…
Reference in New Issue
Block a user