https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8506

            Bug ID: 8506
           Summary: spamc.exe crash on Windows
           Product: Spamassassin
           Version: unspecified
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamc/spamd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 4.0.3

Created attachment 6208
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6208&action=edit
proposed patch

If spamc.exe cannot connect to a spamd server the client crashes.
The "connect to spamd failed, retrying" log message uses %s for the error.
On Windows the code passes the error as a number (e.g. 10061) instead of text
and the logging function then read that number as a memory address and crashed.

The attached patch fixes the issue and silence a warning.

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

Reply via email to