mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Fix GH-19961: Static analysis arrayIndexThenCheck warning in firebird (#20790)
This commit is contained in:
@@ -758,7 +758,7 @@ static zend_long firebird_handle_doer(pdo_dbh_t *dbh, const zend_string *sql) /*
|
||||
ret = -1;
|
||||
goto free_statement;
|
||||
}
|
||||
while (result[i] != isc_info_end && i < result_size) {
|
||||
while (i < result_size && result[i] != isc_info_end) {
|
||||
short len = (short)isc_vax_integer(&result[i+1],2);
|
||||
/* bail out on bad len */
|
||||
if (len != 1 && len != 2 && len != 4) {
|
||||
|
||||
Reference in New Issue
Block a user