[Avcheck] infected is sick?

Juri Haberland Juri Haberland <juri@koschikode.com>
Thu, 29 Nov 2001 11:53:02 +0000 (UTC)


Juri Haberland <list-avcheck@spoiled.org> wrote:

> OK, I found the bug. It's in the template for the infected files:

That wasn't the whole story. Here we go again:

--- ex2/template.org    Wed Nov 28 21:38:15 2001
+++ ex2/template        Thu Nov 29 12:50:41 2001
@@ -144,11 +144,10 @@

   echo "
 --$boundary
-Content-Type: message/rfc822
-Content-Description: Infected message
-Content-Disposition: attachtment
+Content-Type: message/rfc822-headers
+Content-Description: Infected message headers
 "
-  cat "$MAIL"
+  sed '/^$/q' "$MAIL"
   echo "
 --$boundary--"
 )  | $SENDMAIL -f "" -- "$SENDER"


Cheers,
Juri

-- 
Juri Haberland  <juri@koschikode.com>