bugThe nmh Mail Handling System - Bugs: bug #36056, nmh lets binary through to terminal


bug #36056: nmh lets binary through to terminal

Submitted by:  None
Submitted on:  Sat 31 Mar 2012 06:50:44 PM UTC  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalStatus: In Progress
Assigned to: NoneOpen/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon 16 Apr 2012 03:17:12 PM UTC, comment #1:

So that's interesting ... the message was in UTF-8, but didn't have any MIME tagging. That's mega-bogus (but hey, it's spam, not surprising). Let me put this to the mailing list.

Ken Hornstein <kenh>
Project Administrator
Sat 31 Mar 2012 06:50:44 PM UTC, original submission:

Got a spam with binary contents in the Subject: line.
Was amazed that nmh piped it right through onto my display.
Messed up my display but didn't do any real harm, but this can NOT be a "good thing".

Local fix here was to change scan() so it used mh_fputs() instead of plain fputs(), and then added a test in mh_fputs() for (ctype.h) isprint(c) || isspace(c).



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #25533:  332 added by None (3kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by kenh (Posted a comment)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Apr 2012 03:17:12 PM UTCkenhStatusNone=>In Progress
    Sat 31 Mar 2012 06:50:44 PM UTCNoneAttached File-=>Added 332, #25533

    Back to the top

    Powered by Savane 3.1-cleanup