https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6939

Kip <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |WORKSFORME

--- Comment #9 from Kip <[email protected]> ---
I'm going to reference the LP branch because the SVN server was down when I
tried. 

So addrbuf.sun_path which looks to be initialized from tp->socketpath on line
406, although not null, contains the empty string.

<https://bazaar.launchpad.net/~vcs-imports/spamassassin/trunk/view/head:/spamc/libspamc.c#L406>

This is why on line 428 in the call to libspamc_log the sun_path reference is
dead. Like I said, the error message it was giving was not useful.

This is happening because socketpath is initialized via getopt_long loop to
spamc_optarg, which is an empty string when either Evolution or any other
client doesn't pass a parameter to -U. I don't know why it isn't being caught
earlier because the switch option is declared with required_argument set.

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

Reply via email to