Today I was surprised by white screen in my website (when I visited). I have looked for something in error logs on server and i have found an information such This:
[Mon Dec 21 09:10:06 2009] [error] [client 83.2.72.35] ALERT - canary mismatch on efree() - heap overflow detected (attacker '83.2.72.35', file '/srv/www/vhosts/****/httpdocs/sites/all/modules/better_messages/better_messages.module', line 50)
I have uninstalled a Better Messages module and removed all remains off the database. The website is working now !!!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 664856_better_messages.patch | 939 bytes | reubenavery |
Comments
Comment #1
beltofteHave a similar problem on a site under development. I looked in the code and I am quite sure that the reason is the use of file_scan_directory() on every page load where a message exists! To be honest is it quite insane to use this function here. It should of course only be used on the settings page in the administration, and all other places use the configured skin.
Comment #2
reubenavery commentedsubscribing.
Comment #3
reubenavery commentedI modified this function to store the skin files inside the drupal cache. Here's a patch. Can anyone think of a scenario where this might be a bad thing to do?
Comment #4
reubenavery commentedComment #5
mohammed j. razemNew release that fixed this.
Skins are no longer needed by Better Messages, instead you can override the
.tpland.cssas per your themes.See #607086: Overriding template