Hi Steve,

I patched the source and after that, the dspam-daemon eats all cpu an 
our servers... so, its getting worse with that patch :(

any other ideas?

greets,
khp

Steve schrieb:
>> sure, that would be no problem
>>
> Since I don't know if the version you use is already patched or not I am 
> going to write a small instruction what needs to be changed.
> 
> 
> 1) Open src/mysql_drv.c
> 2) Search for the function "_ds_create_signature_id"
> 3) Search inside that function the following loop:
>      for (j = 0; j < 2; j++)
>      {
>        snprintf (digit, 6, "%d", rand ());
>        strlcat (session, digit, 64);
>      }
> 4) Replace that loop with this here:
>      while (strlen(session) < sizeof(session)) {
>        snprintf (digit, sizeof(digit), "%d", rand());
>        strlcat (session, digit, sizeof(session));
>      }
> 5) Save the file and then build DSPAM as usual.
> 6) Let me know if that fixed your issue?
> 
> 
> // Steve
> 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to