#22860 [Opn->Fbk]: odbc_longreadlen() corruption problem

From: Date: Mon, 24 Mar 2003 23:31:16 +0000
Subject: #22860 [Opn->Fbk]: odbc_longreadlen() corruption problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36337@lists.php.net to get a copy of this message
ID: 22860 Updated by: sniper@php.net Reported By: truth at ichaos dot com -Status: Open +Status: Feedback Bug Type: ODBC related Operating System: SuSE 8.0 PHP Version: 4.3.0 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-03-24 15:01:56] truth at ichaos dot com When odbc.defaultlrl is set to 4096 in the php.ini file, and I call odbc_longreadlen($result, 2000000); in my script, the data returned for that $result is padded at the end with garbage (prolly from memory). When the odbc.defaultlrl is set to 2000000 in the php.ini file, and I call odbc_longreadlen($result, 2000000); in my script, the data returned for that $result is not padded at the end with garbage, and is just fine. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22860&edit=1

« previous php.bugs (#36337) next »