diff --exclude-from=/home/dang/.diffrc -up -ruN bogofilter-1.1.1.orig/src/token.c bogofilter-1.1.1/src/token.c --- bogofilter-1.1.1.orig/src/token.c 2006-08-10 21:43:59.000000000 -0400 +++ bogofilter-1.1.1/src/token.c 2006-11-03 10:42:23.000000000 -0500 @@ -352,6 +352,9 @@ token_t parse_new_token(word_t *token) text += 1; leng -= 1; } + if (leng == 0) { + continue; + } if (text[leng-1] == '>') { leng -= 1; }