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 e6906db + 4f9a39e commit 04bf2e5Copy full SHA for 04bf2e5
ext/pdo_firebird/firebird_statement.c
@@ -235,7 +235,7 @@ static int pdo_firebird_stmt_execute(pdo_stmt_t *stmt) /* {{{ */
235
if (result_size > sizeof(result)) {
236
goto error;
237
}
238
- while (result[i] != isc_info_end && i < result_size) {
+ while (i < result_size && result[i] != isc_info_end) {
239
short len = (short) isc_vax_integer(&result[i + 1], 2);
240
if (len != 1 && len != 2 && len != 4) {
241
0 commit comments