We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e733a2 + fa8bb98 commit 576d614Copy full SHA for 576d614
1 file changed
ext/pdo_firebird/firebird_driver.c
@@ -758,7 +758,7 @@ static zend_long firebird_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) /*
758
ret = -1;
759
goto free_statement;
760
}
761
- while (result[i] != isc_info_end && i < result_size) {
+ while (i < result_size && result[i] != isc_info_end) {
762
short len = (short)isc_vax_integer(&result[i+1],2);
763
/* bail out on bad len */
764
if (len != 1 && len != 2 && len != 4) {
0 commit comments