From: truth at ichaos dot com Operating system: SuSE 8.0 PHP version: 4.3.0 PHP Bug Type: ODBC related Bug description: odbc_longreadlen() corruption problem
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 bug report at http://bugs.php.net/?id=22860&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22860&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22860&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22860&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22860&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22860&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22860&r=support Expected behavior: http://bugs.php.net/fix.php?id=22860&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22860&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22860&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22860&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22860&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22860&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22860&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22860&r=gnused