[25468] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 9.2.24: nmh/show

daemon@ATHENA.MIT.EDU (Camilla R Fox)
Wed Jan 28 01:19:35 2004

Message-Id: <200401280619.i0S6JVYI026168@red-herring.mit.edu>
To: bugs@mit.edu
Date: Wed, 28 Jan 2004 01:19:31 -0500
From: Camilla R Fox <cfox@mit.edu>
Errors-To: bugs-bounces@mit.edu

System name:		red-herring.mit.edu
Type and version:	i686 9.2.24 (with mkserv)
Display type:		nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 15)

Shell:			/bin/athena/bash
Window manager:		ctwm

What's wrong:

  Viewing a message which contains a base64 encoded zip archive disguised
  as text/plain results in caracters cat'd to my terminal which trash it.

Please describe any relevant documentation references:

My $PAGER and showproc (in .mh_profile) are both set to "less".

The relevant parts of the mail in question are:

> Content-Type: multipart/mixed; boundary="----=_NextPart_EK_H_8E775605AL3EGDE9_A8A"


> ------=_NextPart_EK_H_8E775605AL3EGDE9_A8A
> Content-Type: text/plain
> Content-Transfer-Encoding: 8bit
> 
> Error 551: We are sorry your UTF-8 encoding is not supported by the server, so the text was automatically zipped and att
> ached to this message.
> 
> ------=_NextPart_EK_H_8E775605AL3EGDE9_A8A
> Content-Type: text/plain; name="message.zip"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="message.zip"
> Content-ID: <message.zip>
> 
> UEsDBBQAAgAIANwFOTB3qEw+dA0AANAOAAALAAAAbWVzc2FnZS5leGXFV2lYU9e63jshkIQQ
> QkiUSUliUFBLIUFERcwIQQOEJBC0qIQESDAkMQODU4MgUxzAqdh6FEGtRbA41CK1EkFFvChg
> 0ZZqkcEhlqpoUCIN5ETPuT33PPfeX/fH/Z7nXe/a7/c96/nW3mvYX9yaSgAKAICTAzw2AHBB
> CBAtiCEC/7RBwB10BR0dZwe8IB+1rs8cjAEA1Mcn2sc+APnHGADwLwbSIB91APhPwvwj9i/+
> iz5aVSoECAP+f0z3cSqQf0/ov9ggAJg+xon/mTQPAlxH/TWxf4tbxebHs7lUSrBUoXBIXJVY
  ...


>From the strace output, it's clear that cat is being run.

22380 execve("/usr/athena/bin/show", ["show", "309"], [/* 61 vars */]) = 0
22380 execve("/usr/athena/bin/mhshow", ["mhshow", "309"], [/* 62 vars */]) = 0
22382 execve("/usr/athena/libexec/mhl", ["mhl", "-form", "/usr/athena/etc/mhl.headers", "-nobody", "-nomoreproc", "309"], [/* 62 vars */] <unfinished ...>
22382 <... execve resumed> )            = 0
22381 execve("/bin/more", ["more"], [/* 62 vars */] <unfinished ...>
22381 <... execve resumed> )            = 0
22383 execve("/bin/sh", ["/bin/sh", "-c", "exec cat \'/afs/athena.mit.edu/us"...], [/* 62 vars */]) = 0
22383 execve("/bin/cat", ["cat", "/afs/athena.mit.edu/user/c/f/cfo"...], [/* 62 vars */]) = 0
22384 execve("/bin/sh", ["/bin/sh", "-c", "exec cat \'/afs/athena.mit.edu/us"...], [/* 62 vars */]) = 0
22384 execve("/bin/cat", ["cat", "/afs/athena.mit.edu/user/c/f/cfo"...], [/* 62 vars */]) = 0


I suspect there's nothing special about my peice of spam that triggered
it, but I'd be happy to provide it in entierity, if that's useful.

-Camilla

home help back first fref pref prev next nref lref last post