http://bugzilla.spamassassin.org/show_bug.cgi?id=4028





------- Additional Comments From [EMAIL PROTECTED]  2004-12-18 15:46 -------
Subject: Re:  memleak in libspamc.c

Sidney, in use_msg_for_out it would be safer to check that outbuf isn't null
before freeing it.  Free isn't delete, free will crash on a null pointer
free.

Now, you may KNOW from the logic that outbuf will never be null when that
routine is called, so the existing code may be safe.  But the next person
that calls that routine someplace may violate those unstated assumptions.
Better to be safe and check first.

        Loren





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to