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

mutt/2032: bus error when reading message (malformed?)



>Number:         2032
>Notify-List:    
>Category:       mutt
>Synopsis:       bus error when reading message (malformed?)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 09 18:35:28 +0200 2005
>Originator:     Kyle Wheeler
>Release:        CVS HEAD
>Organization:
>Environment:
MacOS X 10.4.2
>Description:
When trying to view a (malformed?) message, CVS HEAD mutt crashes. Debian's 
mutt does not crash. Here is the backtrace:

#0  0x9003e044 in ftell ()
#1  0x000abad0 in pgp_application_pgp_handler (m=0x11639c0, s=0xbfffe0dc) at 
pgp.c:384
#2  0x000b5c10 in crypt_mod_pgp_application_handler (m=0x11639c0, s=0xbfffe0dc) 
at crypt-mod-pgp-classic.c:46
#3  0x000138a0 in crypt_pgp_application_pgp_handler (m=0x11639c0, s=0xbfffe0dc) 
at cryptglue.c:153
#4  0x00045e0c in mutt_body_handler (b=0x11639c0, s=0xbfffe0dc) at 
handler.c:1931
#5  0x00044624 in multipart_handler (a=0x1167600, s=0xbfffe0dc) at 
handler.c:1495
#6  0x00045e0c in mutt_body_handler (b=0x1167600, s=0xbfffe0dc) at 
handler.c:1931
#7  0x0001f928 in _mutt_copy_message (fpout=0xa000dd44, fpin=0xa000dd9c, 
hdr=0x1167450, body=0x1167600, flags=76, chflags=150) at copy.c:660
#8  0x0001fd2c in mutt_copy_message (fpout=0xa000dd44, src=0x1107020, 
hdr=0x1167450, flags=76, chflags=150) at copy.c:740
#9  0x00014c44 in mutt_display_message (cur=0x1167450) at commands.c:146
#10 0x00027d48 in mutt_index_menu () at curs_main.c:1175
#11 0x00050ca0 in main (argc=1, argv=0xbffff6dc) at main.c:948

in pgp.c, pgpout is NULL, leading to the crash.
>How-To-Repeat:
Set crypt_verify_sig=no and pgp_auto_decode=yes. View this message.
>Fix:
Unknown
>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; name="broken.bar.bz2"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="broken.bar.bz2"
 
 QlpoOTFBWSZTWdDapSIACKV/lfqwAEBQ7///////+v////AEAAABAACACGAPPz31mK7D6PPt83vm
 z73z74e+7ls5Lbsy9r3edQ+d97Xk+9z4Rr72b2vtTte+w0k0TCDSPRM0wpiYMgAmyE8mKn6AVHog
 AAIiBGIyaniaMTRhommmmEBoEZkCUaNAAARJqYTJiMmAARU/9QxJ5NNMIKeT0ptqk/VBpoAMhhqI
 JptGhpoTRNpPUzUzSJ5PEjTKemTap5EyDIDTTQA1NDSZNRqn7UZFPZIZTymxNT1M1PRo1PTTRqDJ
 p6gAaNAEkhBMQAmmmEyA0wjRoDQamASj1PU0ANBp8COy0FvcCUP2psgQ6UBARDCMF3cGgiUUaGCJ
 FUHQRIwiQcgsIYAV0UEh7BOhd9+2QSr5OkWQyzTFNimhwY5lMf3fSueAuUpPCnxzen7r+Hm55Vc0
 SxFNcl/FtIwF6r37vYI6CRUk+fxUvg7p8ZkTpkpiUe7AykZ3Td87C5rZcyxzWJeJv0web6MVft64
 2u4/t8MHIeFHneBBECekWcdjBAubWlDRcM+fOGJlu3SLGNB0HWHMn9NXfmeUqOsima1KZFXda7Kk
 Rc/1YQSKAPkjhSCDjA1xdQxQ9F0Ne89G3uTIAeObmxqmQKzXGC7aMy8YM/cEuY1XOhcqqonCSBKI
 n8FoZrwY6FWWg6/FBV0t+2wKBDcrq4SmICtM1LN8wiyiD/vE6Qo43A24gQIKBJCrsJ2iMx37tb9M
 keoqVukg8U2lTw44WZ2s3Kvk7gjJ2GmthtNkqReWi3TwbBrzISvovc2v+riQOE6fHUpezK4De6Lc
 nylAaz7/TZzbOf6r7/lq2JuV8GDCbe60lPXNF7+sO6z5J/2IEoPar/FBfBnygBVDyoV5O05AYIkA
 Wo5zgliQE8rezkyXItVEX57eDRr1kGLYw/uuj66dwj3KlHt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