[cvs] bogofilter paths.c,1.2,1.3
Matthias Andree
matthias.andree at gmx.de
Mon Jan 20 13:08:04 CET 2003
relson at users.sourceforge.net writes:
> Modified Files:
> paths.c
> Log Message:
> Don't allow null string as directory name.
Should we also reject all-whitespace names?
Suggestion:
if (env == NULL || strspn(env, " \011\012\013\014\015") == strlen(env)) return NULL;
\011 is 9, HTAB \t
\012 is 10, LF \n
\013 is 11, VTAB
\014 is 12, FF \f
\015 is 13, CR \r
--
Matthias Andree
More information about the bogofilter-dev
mailing list