Patch firebird_statement.diff for PDO Firebird Bug #76488
Patch version 2018-06-17 13:18 UTC
Return to Bug #76488 |
Download this patch
Patch Revisions:
Developer: sim-mail@list.ru
--- C:\Users\Denis\Downloads\firebird_statement.c 2018-06-17 15:25:19.888779300 +0300
+++ E:\php-sdk\phpdev\vc15\x64\php-7.2.7-src\ext\pdo_firebird\firebird_statement.c 2018-06-17 15:29:22.608112900 +0300
@@ -294,7 +294,7 @@
unsigned short seg_len;
ISC_STATUS stat;
- *ptr = S->fetch_buf[colno] = erealloc(*ptr, *len+1);
+ *ptr = S->fetch_buf[colno] = erealloc(S->fetch_buf[colno], *len+1);
for (cur_len = stat = 0; (!stat || stat == isc_segment) && cur_len < *len; cur_len += seg_len) {
|