Bug #71175 [NEW]: Crash when use ibase_blob_echo

From: Date: Sun, 20 Dec 2015 22:32:27 +0000
Subject: Bug #71175 [NEW]: Crash when use ibase_blob_echo
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198069@lists.php.net to get a copy of this message
From: zedex at rambler dot ru Operating system: Linux SLES-11 SP2 PHP version: 7.0.1 Package: InterBase related Bug Type: Bug Bug description:Crash when use ibase_blob_echo Description: ------------ Can't select blob data from data field (FireBird 2.5.5). In PHP 5.6.16 all working perfect ! if use print function result simple is: 0x00000500080 Test script: --------------- <? $host = 'localhost:/opt/firebird/examples/test.fdb'; $username = 'sysdba'; $password = 'password'; $dbh = ibase_connect($host, $username, $password); $query = "SELECT B_DATA FROM TEST2 WHERE ID='9'"; $result = ibase_query($dbh, $query); $data = ibase_fetch_object($result); if ($data) { header("Content-type: application/pdf"); header('Content-disposition: attachment; filename="test.pdf"'); ibase_blob_echo($data->B_DATA); } else { header('HTTP/1.0 404 Not Found'); } ibase_close($dbh); ?> -- Edit bug report at https://bugs.php.net/bug.php?id=71175&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71175&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71175&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71175&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71175&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71175&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71175&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71175&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71175&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71175&r=support Expected behavior: https://bugs.php.net/fix.php?id=71175&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71175&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71175&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71175&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71175&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71175&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71175&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71175&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71175&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71175&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71175&r=mysqlcfg

« previous php.bugs (#198069) next »