[freetds] suhosin[6894]: ALERT - canary mismatch on efree(). Is freeTDS 64 Bit the problem?

Frediano Ziglio freddy77 at gmail.com
Wed Apr 29 03:24:46 EDT 2009


2009/4/27 Peter Wagner <wagnerp at hotmail.de>:
>
> Hi all.
>
> SQL select commands under PHP to MS SQL-Server via unixODBC and freeTDS
> returns invalid data under openSUSE x86_64 (openSUSE 10.2 and 11.1).
> In /var/log/messages I have
> ... suhosin[6894]: ALERT - canary mismatch on efree() - heap overflow detected (attacker 'IP', file '...', line ...)
> ... suhosin[6895]: ALERT - canary mismatch on efree() - heap overflow detected (attacker 'IP', file '...', line ...)
> And in /var/log/apache2/error_log I have
> ... [error] [client IP] ALERT - canary mismatch on efree() - heap overflow detected (attacker 'IP', file '...', line ...)
> ... [error] [client IP] ALERT - canary mismatch on efree() - heap overflow detected (attacker 'IP', file '...', line ...)
>
> The SAME SQL selects are CORRECT under openSUSE x86_32 (openSUSE 10.2 and 11.1).
>
> Is freeTDS 64 Bit the problem?
>

I think the better tool to detect these types of problems are
valgrind, it can detect memory problems as soon they happen. Please
give it a try.

freddy77



More information about the FreeTDS mailing list