Bug Tracker item #2853164, was opened at 2009-09-06 23:50
Message generated for change (Settings changed) made by sbajic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2853164&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: v3.9.0
>Status: Closed
>Resolution: Fixed
>Priority: 9
Private: No
Submitted By: Franck Bourdonnec (franck78)
>Assigned to: Stevan Bajic (sbajic)
Summary: free unallocated pointers

Initial Comment:
when 'bail' is jumped to, it frees unllocated
pointers CTX->username, CTX->group (but not CTX->home !!!)
Also the CTX->config->attributes is always NULL....

http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=blob;f=src/libdspam.c;h=192cf33a291704d18b4bd99174f62287fcd5ffd3;hb=HEAD#l236

bail: just need to be removed and the remaining usefull 
free (CTX)  and free(CTX->config)
replacing the 'goto bail';
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2853164&group_id=250683

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to