ID: 43861
User updated by: skennedy at vcn dot com
Reported By: skennedy at vcn dot com
-Status: Feedback
+Status: Open
Bug Type: MSSQL related
Operating System: FreeBSD 6.2
PHP Version: 5.2.5
New Comment:
Apparently amd64/FreeBSD cannot run valgrind. I get this when trying
to install it:
===> valgrind-352_7 is only for i386, while you are running amd64.***
Error code 1
Is there anything else that's amd64/FreeBSD friendly I can use?
Previous Comments:
------------------------------------------------------------------------
[2008-01-27 16:46:42] [EMAIL PROTECTED]
Can you please to run the script through valgrind without suhosin
extension enabled.
------------------------------------------------------------------------
[2008-01-22 15:54:29] kepi at orthank dot net
We have same problem with every sql query we tried:
<?php
$conn = odbc_connect("FreeTDS", "user", "name");
$query = "SELECT * FROM systypes";
$result = odbc_exec($conn,$query);
?>
result:
--------
ALERT - canary mismatch on efree() - heap overflow detected (attacker
'127.0.0.1', file '/var/www/test.php', line 3)
------------------------------------------------------------------------
[2008-01-16 01:03:41] skennedy at vcn dot com
Description:
------------
Getting an "ALERT - canary mismatch on efree() - heap overflow
detected" error when running two certain queries. This seems to be
triggered when the second query runs. The error indicates the
mssql_free_result() is the offender, but it happens even when
mssql_free_result() is omitted (however does not show the offending line
number). This bug is the similar, if not the same, as #40119.
Reproduce code:
---------------
http://bandwidthbuilders.com/php_mssql_suhosin_bug.phps
Expected result:
----------------
To run without error and exit cleanly.
Actual result:
--------------
ALERT - canary mismatch on efree() - heap overflow detected (attacker
'REMOTE_ADDR not set', file '/usr/home/bwbuilders/test.php', line 33)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43861&edit=1