|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-08 17:32 UTC] leo dot nnnaaarrrdddooo at gmail dot com
[2009-05-08 23:28 UTC] felipe@php.net
[2009-05-16 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jan 08 13:00:01 2026 UTC |
Description: ------------ ODBC crashes when using php script included (using a MySQL database), and an ALERT - canary mismatch on efree() - heap overflow detected (attacker 'X.X.X.X', etc ...) line pops up in the error.log for apache. This happens on current stable Debian 5.0 "lenny" AMD64, with system up to date as of today, running: apache2, php5, mysql-server. Compiling latest MySQL odbc driver version 5.1.5 doesn't crash, but does lock up the calling process if same script is run with php5 client from command line. Reproduce code: --------------- $conn="DRIVER={MySQL}; DatabaseName='test'; CommLinks=tcpip(Host=localhost); "; $conn=odbc_connect($conn, "user", ""); $sql='SELECT * FROM test.T1;'; echo $sql; $pg_query=odbc_exec($pg_conn, $sql); odbc_close($pg_conn); echo "A";