segfault bug reported against cvs sources
Matthias Andree
matthias.andree at gmx.de
Fri Nov 8 15:30:01 CET 2002
Matthias Andree <matthias.andree at gmx.de> writes:
> Allyn Fratkin <allyn at fratkin.com> writes:
>
>> "bogofilter -p -v < whatever segfaults just before printing the keywords."
>> http://sourceforge.net/tracker/index.php?func=detail&aid=635125&group_id=62265&atid=499997
>
> Cannot reproduce here, requested stack backtrace from core.
The backtrace has been added to the filter, it happens at line
#549. Leaving us with two possibilities for problems:
stats_prefix == NULL
pp->key == NULL
542 case 2:
543 fprintf(fp, "%s%f %s\n", stats_prefix, pp->prob, pp->key);
544 break;
545 case 3:
546 fprintf(fp, "%s%f %f %s\n", stats_prefix, pp->prob, spamicity, pp->key);
547 break;
548 default:
549 fprintf(fp, "%s%f %f %f %8.5e %s\n", stats_prefix, pp->prob, product, invproduct, spamicity, pp->key);
550 break;
551 }
552 }
553 }
554
555 return spamicity;
556 }
--
Matthias Andree
More information about the bogofilter-dev
mailing list