Apply patch #1107 : Minimum stack cookie on AmigaOS4 to prevent stack overflow

This commit is contained in:
Benoît Timbert 2009-02-07 16:15:55 +00:00
parent 3a10620fea
commit 4dd7159b5d
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,8 @@
Version 1.4.7+svn:
* language and i18n:
* updated translations: French, Italian, Japanese
* miscellaneous and bug fixes:
* AmigaOS4: Minimum stack cookie to prevent stack overflow (patch #1107)
Version 1.4.7:
* campaigns:

View file

@ -78,6 +78,10 @@
#include <boost/iostreams/filtering_streambuf.hpp>
#include <boost/iostreams/filter/gzip.hpp>
#ifdef __amigaos4__
const char __attribute__((used)) stackcookie[] = "\0$STACK: 16000000";
#endif
#define ERR_CONFIG LOG_STREAM(err, config)
#define WRN_CONFIG LOG_STREAM(warn, config)
#define LOG_CONFIG LOG_STREAM(info, config)