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

            Bug ID: 7880
           Summary: Can't call method "name" on an undefined value at
                    lib/Mail/SpamAssassin/Message/Node.pm line 533
                    (nullref exception)
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

r1864393 introduced a nullref weakness in a Node.pm debug message that triggers
when a UTF-16 header (or, presumably, body part) is too short for
detect_utf16() to be able to detect the endianness from the encoded data (or,
presumably, when it cannot detect the endianness for some other reason).

This occurs even if the UTF-16 data includes a BOM.

3.4 does not have this nullref weakness as the debug message change was not
backported.

Repro: Put this header in a test message:

  From:=?UTF-16?B?//492Enc?= DermaCorrect <@ewFXg.maclostech320.xyz;live.de;>

(note: malformed header is verbatim from actual spam)

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

Reply via email to