We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa8bb98 + bae78c6 commit 29e04acCopy full SHA for 29e04ac
ext/pdo_firebird/firebird_statement.c
@@ -243,7 +243,7 @@ static int pdo_firebird_stmt_execute(pdo_stmt_t *stmt) /* {{{ */
243
if (result_size > sizeof(result)) {
244
goto error;
245
}
246
- while (result[i] != isc_info_end && i < result_size) {
+ while (i < result_size && result[i] != isc_info_end) {
247
short len = (short) isc_vax_integer(&result[i + 1], 2);
248
if (len != 1 && len != 2 && len != 4) {
249
0 commit comments