|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-01-16 01:03 UTC] 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) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
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)