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

           Summary: auth_ident() generates warning
           Product: Spamassassin
           Version: 3.0.1
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P4
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The auth_ident() function in spamd.raw generates the following warning:

Use of uninitialized value in string ne at /usr/sbin/spamd line 1356,
<GEN608> line 2.

This occurs because ident_lookup() return undef on failure, so the code ends up
doing: "if ( username ne undef )", which is a warning under -w.

The sub should explictly check if ident_lookup() fails and return gracefully.



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

Reply via email to