cvs: php4(PHP_4_3) /ext/informix ifx.ec

From: Date: Wed, 21 May 2003 22:36:41 +0000
Subject: cvs: php4(PHP_4_3) /ext/informix ifx.ec
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21196@lists.php.net to get a copy of this message
sniper Wed May 21 18:36:41 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/informix ifx.ec Log: MFH: Fixed bug #23738 (ifx_copy_blob() crash). (Jani) Index: php4/ext/informix/ifx.ec diff -u php4/ext/informix/ifx.ec:1.69.2.14 php4/ext/informix/ifx.ec:1.69.2.15 --- php4/ext/informix/ifx.ec:1.69.2.14 Wed Mar 5 08:20:39 2003 +++ php4/ext/informix/ifx.ec Wed May 21 18:36:41 2003 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ifx.ec,v 1.69.2.14 2003/03/05 13:20:39 nobbie Exp $ */ +/* $Id: ifx.ec,v 1.69.2.15 2003/05/21 22:36:41 sniper Exp $ */ /* ------------------------------------------------------------------- * if you want a function reference : "grep '^\*\*' ifx.ec" will give @@ -3242,7 +3242,7 @@ if (Ifx_blob->BLOB.mode == BLMODE_INMEM) { char *content; if (locator_orig->loc_bufsize >= 0 && locator_orig->loc_buffer != NULL) { - if ((content = emalloc(locator_orig->loc_size)) == NULL) { + if ((content = emalloc(locator_orig->loc_bufsize)) == NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't create blob-resource"); return -1; }

« previous php.cvs (#21196) next »