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

mutt/2128: mutt segfaults on e-mail



>Number:         2128
>Notify-List:    
>Category:       mutt
>Synopsis:       mutt segfaults on e-mail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 01 15:13:21 +0100 2005
>Originator:     Karel Kulhavy
>Release:        1.5.8i
>Organization:
Twibright Labs
>Environment:
Gentoo Linux
>Description:
I wanted to attach the second segfault e-mail to the original bugreport but I 
wasn't able to find it using search for bugreport. I used the word "segfault" 
which I am sure I used in the original bugreport as well. I think the 
bugreporting engine search function is crap.
Here it is. mutt again doesn't segfault when run on the isolated e-mail and the 
backtrace is this time:
(gdb) bt full
#0  0xb7c93b51 in free () from /lib/libc.so.6
No symbol table info available.
#1  0x080a9d08 in ?? ()
No symbol table info available.
>How-To-Repeat:
No way
>Fix:
Read the mutt code and check it for correctness. You will find 
other bugs as a bonus.
>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; name="segfault2"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="segfault2"
 
 RnJvbSBjb25maXJtLXJldHVybi15Y2FydXM9Y2VudHJ1bS5jekByZXR1cm5zLmdyb3Vwcy55YWhv
 by5jb20gIFR1ZSBOb3YgIDEgMTQ6MTI6MDkgMjAwNQpSZWNlaXZlZDogZnJvbSBsb2NhbGhvc3Qg
 KFsxMjcuMC4wLjFdKQoJYnkga2VzdHJlbC50d2licmlnaHQuY29tIHdpdGggZXNtdHAgKEV4aW0g
 NC41MCkKCWlkIDFFV3Z2cy0wMDA2Z2UtVXIKCWZvciBjbG9ja0Bsb2NhbGhvc3Q7IFR1ZSwgMDEg
 Tm92IDIwMDUgMTQ6MTI6MDkgKzAxMDAKUmVjZWl2ZWQ6IGZyb20gbWFpbDQuY2VudHJ1bS5jeiBb
 MjEzLjI5LjcuMjMwXQoJYnk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