Michel, what is the limit for SERV_FOUNDSPAMWORDS?

Haben Sie einen Fehler in einem Plugin entdeckt?

Moderator: Forum-Team

Michel, what is the limit for SERV_FOUNDSPAMWORDS?

Beitragvon AlexV » 14. Apr 2007, 08:54

Michel,

I'm finding Spamihilator .25 occasionally crashes out on me while checking email, and eventually traced the problem down to my Trust Spamihilator Headers plugin. I further debugged it to find it is occurring while using the SERV_FOUNDSPAMWORDS service, and only when it is a long string.

I could not find anywhere in the SDK documentation anything to say what the length limit for text passed to this service is, so could you let me know what it is please, and I will ensure that my plugin never passes text longer than that length.

Thanks,

Alex Vallat
AlexV
Spam-Massenmörder
Spam-Massenmörder
 
Plugin-Programmierer
 
Beiträge: 139
Registriert: 26. Nov 2005, 12:25

Re: Michel, what is the limit for SERV_FOUNDSPAMWORDS?

Beitragvon michel » 20. Apr 2007, 17:54

Hi!

You're right. That's obviously a bug in Spamihilator, which I already fixed in version 0.9.9.25 ;-)

But it would be better if you could limit the number of characters, especially when your plugin is used with older versions of Spamihilator. The maximum number is 256 (including terminating null character).

Sincerely,
Michel Krämer
Chuck Norris doesn't kill Spam. He uses Spamihilator! ;-)
Benutzeravatar
michel
Administrator
Administrator
 
Administration
Beta-Tester
Forum-Team
Plugin-Programmierer
 
Beiträge: 4335
Registriert: 22. Mär 2003, 01:16
Wohnort: Buseck


Zurück zu Plugins: Bugs

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron

 industrious-southeast