php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #76488
Patch firebird_statement.diff revision 2018-06-17 13:18 UTC by sim-mail at list dot ru

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) {
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 13:01:29 2024 UTC