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

From: Date: Mon, 24 Feb 2003 07:45:59 +0000
Subject: cvs: php4(PHP_4_3) /ext/informix ifx.ec
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19120@lists.php.net to get a copy of this message
nobbie Mon Feb 24 02:45:59 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/informix ifx.ec Log: - MFH: Fixed ifx_errormsg() Segfault Index: php4/ext/informix/ifx.ec diff -u php4/ext/informix/ifx.ec:1.69.2.8 php4/ext/informix/ifx.ec:1.69.2.9 --- php4/ext/informix/ifx.ec:1.69.2.8 Fri Feb 21 01:49:55 2003 +++ php4/ext/informix/ifx.ec Mon Feb 24 02:45:58 2003 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ifx.ec,v 1.69.2.8 2003/02/21 06:49:55 sniper Exp $ */ +/* $Id: ifx.ec,v 1.69.2.9 2003/02/24 07:45:58 nobbie Exp $ */ /* ------------------------------------------------------------------- * if you want a function reference : "grep '^\*\*' ifx.ec" will give @@ -1650,6 +1650,7 @@ } maxmsglen = 255; + msglen = maxmsglen; // Some bug fix, rgetlmsg doesnt always set the value ifx_errmsg = (char *)malloc(maxmsglen + 1); if (ifx_errorcode != 0) { rgetlmsg(ifx_errorcode, ifx_errmsg, maxmsglen, &msglen);

« previous php.cvs (#19120) next »