[cvs] SF.net SVN: bogofilter:[6989] trunk/bogofilter/src/bogoconfig.c
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2013-06-28 20:53:06
|
Revision: 6989 http://sourceforge.net/p/bogofilter/code/6989 Author: m-a Date: 2013-06-28 20:53:03 +0000 (Fri, 28 Jun 2013) Log Message: ----------- Make --syslog-tag (-L) require an argument to avoid crash in strdup(). Reported by Alexandre Rebert, found with Mayhem tool. Modified Paths: -------------- trunk/bogofilter/src/bogoconfig.c Modified: trunk/bogofilter/src/bogoconfig.c =================================================================== --- trunk/bogofilter/src/bogoconfig.c 2013-01-20 14:02:48 UTC (rev 6988) +++ trunk/bogofilter/src/bogoconfig.c 2013-06-28 20:53:03 UTC (rev 6989) @@ -102,7 +102,7 @@ LONGOPTIONS_DB /* bogofilter specific options */ { "classify-files", N, 0, 'B' }, - { "syslog-tag", N, 0, 'L' }, + { "syslog-tag", R, 0, 'L' }, { "classify-mbox", N, 0, 'M' }, { "unregister-nonspam", N, 0, 'N' }, { "dataframe", N, 0, 'R' }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |