diff --git a/Changes b/Changes index 756f7c8c4..0f000db0c 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Provided by Anope Dev. - 2004 09/20 A Added RestrictOperNicks as new feature in services.conf. [ #00] 09/08 A Removed rand() and ported bsd's arc4random() to fit our needs. [ #00] 08/24 A New -l option for am script to list possible selectors. [ #00] +10/09 F Bug in LogChannel possibly causing segfaults. [#176] 10/03 F Changed UserKeys from uint to long uint. [ #00] 09/21 F An option to explicitly not use mysql is added to Config [ #00] 09/19 F Rewrote the internals of moduleData to save lots of memory. [ #00] diff --git a/src/log.c b/src/log.c index ec9ee2532..f4eac5c7b 100644 --- a/src/log.c +++ b/src/log.c @@ -161,7 +161,7 @@ void alog(const char *fmt, ...) if (LogChannel && logchan && !debug && findchan(LogChannel)) { char str[BUFSIZE]; vsnprintf(str, sizeof(str), fmt, args); - privmsg(s_GlobalNoticer, LogChannel, str); + privmsg(s_GlobalNoticer, LogChannel, "%s", str); } va_end(args); diff --git a/src/news.c b/src/news.c index 44195a985..1227f6adc 100644 --- a/src/news.c +++ b/src/news.c @@ -1,4 +1,5 @@ /* News functions. +/* News functions. /* News functions. * * (C) 2003 Anope Team @@ -540,3 +541,4 @@ static int del_newsitem(int num, short type) /*************************************************************************/ + diff --git a/version.log b/version.log index ad1e47b9a..17dbf359c 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="5" -VERSION_BUILD="378" +VERSION_BUILD="379" # $Log$ # +# BUILD : 1.7.5 (379) +# BUGS : 176 +# NOTES : Fixed a possible segfault due to a bug in LogChannel +# # BUILD : 1.7.5 (378) # BUGS : N/A # NOTES : News reodering - DrStein, TSMODE issues - TSL, NULL crash fixes - TSL