<<< Date Index >>>     <<< Thread Index >>>

mutt/2110: decode-copy decode-save create empty parts / messages in case of decoding errors



>Number:         2110
>Notify-List:    
>Category:       mutt
>Synopsis:       decode-copy decode-save create empty parts / messages in case 
>of decoding errors
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 10 22:07:14 +0200 2005
>Originator:     michael.tatge@xxxxxx
>Release:        
>Organization:
>Environment:
Mutt 1.5.11 (2005-09-15)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.12.2-mtatge-2005-07-03 (i686) [using ncurses 5.4] [using libid
n 0.5.18 (compiled with 0.5.18)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK   -USE_INODESORT   
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_GNUTLS  +USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
+BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  +US
E_HCACHE  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

patch-1.5.11.rr.compressed.1
patch-1.5.5.1.cd.trash_folder.3.4
patch-1.5.5.1.cd.purge_message.3.4
patch-1.5.6+20040904.tg.mutt-thread.3
>Description:
Mutt creates empty messages if there's some error while decode-{copy,save} e.g. 
wrong passphrase.
It gives an error for pgp/mime types (Could not decrypt PGP message / Could not 
copy message) or if check-traditional-pgp is used.
Nontheless a message with an empty body is copied/saved.
This should not happen. In case of decode-save it could result in mail loss.
Mutt should warn the user about the error and either copy the message as is 
(encoded) or refuse to write the message at all.
>How-To-Repeat:
decode-copy or decode-save an encrpted message and enter a wrong passphrase.
>Fix:
>Add-To-Audit-Trail:

>Unformatted: