Chinaunix首页 | 论坛 | 博客
  • 博客访问: 528996
  • 博文数量: 99
  • 博客积分: 6010
  • 博客等级: 准将
  • 技术积分: 1110
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-01 09:01
文章分类

全部博文(99)

文章存档

2010年(4)

2009年(86)

2008年(9)

我的朋友

分类: BSD

2008-10-15 15:12:38

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.

阅读(2177) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~