ID:               28472
 Updated by:       [EMAIL PROTECTED]
 Reported By:      valery at blagovest dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: FreeBSD 4.9-RELEASE
 PHP Version:      4.3.6
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Dupe of bug #28354 


Previous Comments:
------------------------------------------------------------------------

[2004-05-21 14:17:45] valery at blagovest dot com

Description:
------------
Script in Reproduce code section cause crash.
If call to mssql_free_result() is commented all work fine.
This script worked on PHP 4.2.2 with no problem.
Database table from which select is performed contains integer and char
fields (nothing unusual).

---------------------------
FreeBSD 4.9-RELEASE
Apache/1.3.22
PHP 4.3.6
Configure Command: '--with-apxs=/usr/local/apache/bin/apxs'
'--with-config-file-path=/usr/local/apache/conf'
'--with-sybase-ct=/usr/local/freetds' '--with-mysql=/usr/local/mysql'
'--with-zlib' '--with-gettext' '--with-xml' '--with-imap=../imap-2004'



Reproduce code:
---------------
mssql_connect('server', 'user', 'passw');
mssql_select_db('database');
$res = mssql_query('select * from Table');
while ($row = mssql_fetch_object($res)) {
  /* do smth */
}
mssql_free_result($res);


Expected result:
----------------
All but no crash.

Actual result:
--------------
Apache crashes with Segmentation Fault.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28472&edit=1

Reply via email to