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





------- Additional Comments From [EMAIL PROTECTED]  2004-05-28 14:30 -------
This tWO line patch makes the segfault go away. I don't have time right now to
look at it carefully enough to say that it is the right fix, but if somebody
else has a chance this should point directly to the problem and may be all that
is needed. I'm pasting it in here instead of attaching because it is so small:

--- spamc.c     (revision 20551)
+++ spamc.c     (working copy)
@@ -479,6 +479,8 @@
        ret = get_current_user(&username);
        if ( ret != EX_OK )
            goto finish;
+   } else {
+     username = strdup(username);
    }

    if ((flags & SPAMC_RANDOMIZE_HOSTS) != 0) {




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

Reply via email to