Handle encoding type us-ascii - should be none

git-svn: trunk@1036
remotes/push_mirror/metadata
Nigel Horne 21 years ago
parent 1602f61269
commit 1c2d9d5841
  1. 8
      clamav-devel/ChangeLog
  2. 6
      clamav-devel/libclamav/message.c

@ -1,7 +1,13 @@
Fri Oct 22 18:20:03 BST 2004 (njh)
----------------------------------
* libclamav/message.c: Handle broken messages which state
Content-Transfer-Encoding: us-ascii
reported by arny@arny.ro
Fri Oct 22 16:57:13 BST 2004 (njh)
----------------------------------
* libclamav/message.c: If an unknown encoding type is found take
a best guess for the decoder. If none can be guessed
a best guess for the decoder. If none can be guessed
invoke all decoders
Thu Oct 21 11:14:35 BST 2004 (njh)

@ -17,6 +17,9 @@
*
* Change History:
* $Log: message.c,v $
* Revision 1.106 2004/10/22 17:18:13 nigelhorne
* Handle encoding type us-ascii - should be none
*
* Revision 1.105 2004/10/22 15:53:45 nigelhorne
* Fuzzy logic match for unknown encoding types
*
@ -312,7 +315,7 @@
* uuencodebegin() no longer static
*
*/
static char const rcsid[] = "$Id: message.c,v 1.105 2004/10/22 15:53:45 nigelhorne Exp $";
static char const rcsid[] = "$Id: message.c,v 1.106 2004/10/22 17:18:13 nigelhorne Exp $";
#if HAVE_CONFIG_H
#include "clamav-config.h"
@ -392,6 +395,7 @@ static const struct encoding_map {
{ "binary", BINARY },
{ "x-uuencode", UUENCODE },
{ "x-yencode", YENCODE },
{ "us-ascii", NOENCODING }, /* incorrect */
{ NULL, NOENCODING }
};

Loading…
Cancel
Save