Bug Tracker item #2837915, was opened at 2009-08-15 00:30
Message generated for change (Comment added) made by franck78
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2837915&group_id=250683
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: daemon
Group: None
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: Franck Bourdonnec (franck78)
Assigned to: Nobody/Anonymous (nobody)
>Summary: bad variable used + memory leak
Initial Comment:
in dspam.c function retrain_message() (~line 2620)
the 'result' integer is never used but passed to LOGDEBUG.....
Probably the interesting integer is CLX->result
Note also in this function two small fixes:
1)either choose "processorBias" or "ProcessorBias"
2)at the end of the function, in the test
if (ck_result || CLX->result==match)
ck_result is absolutly never true because of
the preceding test 'returning' !!!
----------------------------------------------------------------------
>Comment By: Franck Bourdonnec (franck78)
Date: 2009-08-15 00:56
Message:
"CTX->result" is better!?
Memory leak detected:
ck_result=dspam_process(CLX,null)
if ck_result != 0
return
and CLX is not dspam_destroyed.
CLX->signature = &ATX->SIG;
ck_result = dspam_process (CLX, NULL);
if (ck_result != 0) {
dspam_destroy (CLX);
return EFAILURE;
}
if (CLX->result == match)
do_train = 0;
CLX->signature = NULL;
dspam_destroy (CLX);
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2837915&group_id=250683
------------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel