Skip to content

Commit 29e04ac

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix GH-19962: arrayIndexThenCheck static analysis warning in firebird
2 parents fa8bb98 + bae78c6 commit 29e04ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo_firebird/firebird_statement.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ static int pdo_firebird_stmt_execute(pdo_stmt_t *stmt) /* {{{ */
243243
if (result_size > sizeof(result)) {
244244
goto error;
245245
}
246-
while (result[i] != isc_info_end && i < result_size) {
246+
while (i < result_size && result[i] != isc_info_end) {
247247
short len = (short) isc_vax_integer(&result[i + 1], 2);
248248
if (len != 1 && len != 2 && len != 4) {
249249
goto error;

0 commit comments

Comments
 (0)