From:             alahaye at fmlogistic dot com
Operating system: Linux RadHat 7
PHP version:      4.3.6
PHP Bug Type:     Sybase-ct (ctlib) related
Bug description:  sybase_free_result crash

Description:
------------
When using sybase_free_result, apache Segmentation fault.
PB doesn't exist with PHP 4.3.4.

Reproduce code:
---------------
<?
$query = "EXEC MyPROC";

$id = sybase_connect(SERVER,LOGIN,PASSWORD);
sybase_select_db(BASE,$id);
$result = sybase_query($query,$id);
 While ($row = sybase_fetch_row ($result))
  {
         print $row[0]."<BR>";
  }
sybase_free_result($result);
sybase_close($id);
?>

Expected result:
----------------
result of stored procedure


-- 
Edit bug report at http://bugs.php.net/?id=28354&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28354&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28354&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28354&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28354&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28354&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28354&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28354&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28354&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28354&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28354&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28354&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28354&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28354&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28354&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28354&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28354&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28354&r=float

Reply via email to