list(,$temp) leak with eacc+suhosin

0 views
Skip to first unread message

ethaniel

unread,
Jul 30, 2008, 4:44:15 PM7/30/08
to eaccelerator
Suhosin reports heap overflow on PHP lines with list(,$temp)
construction (empty variables).

After running for a few hours, my webserver starts returning 500
errors on specific PHP scripts and I have those entries in the /var/
log/messages:

ALERT - canary mismatch on efree() - heap overflow detected (...)

It also shows me the script name and the line number. Each of the
scripts involved has list(,$temp) constructions on those lines, so I
assume, there might be some kind of a leak in PHP, Eaccelerator or
Suhosin. Anyways, I'm posting this bug to all 3 buglists, just in
case.

Code:

list(, $pg, $t, ) = pagebar(100, 12, "", $page);

The only thing that helps is running eaccelerator_clear() function
every hour.

I assume, this is a eaccelerator leak.
Reply all
Reply to author
Forward
0 new messages