You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by decoder <de...@own-hero.net> on 2006/08/29 19:28:15 UTC
Silent bug in FuzzyOcr 2.3b, database feature - hotfix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
someone discovered that the DB was not working properly in most cases,
please fix line 492:
It says:
print DB "$score::$digest\n";
Should be:
print DB "${score}::${digest}\n";
As a result, the produced hashdb is unusable, please delete it, or
convert it by adding a score + :: before each entry, like:
190959:221:288:64::255:255:255:255:45599::18:26:58:27:3991::11:67:247:71:1875::254:254:253:254:1417::236:14:8:80:1180
gets to
10::190959:221:288:64::255:255:255:255:45599::18:26:58:27:3991::11:67:247:71:1875::254:254:253:254:1417::236:14:8:80:1180
The bug caused the score not to get written in front of the file size...
Thanks to all the people on the devel-spam list that helped finding
this bug...
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE9HkvJQIKXnJyDxURAk6jAJ0eP/tTzBCiqwxHHSf/cJ0UXZmbUQCdHq1H
dLJKZ0yRDo968QVY6TN0Ek8=
=QDuC
-----END PGP SIGNATURE-----