https://bugs.kde.org/show_bug.cgi?id=279809

           Summary: KMail2 crash on viewing mail in gb2312 encoding, edit
                    to UTF-8 fixes it
           Product: kmail2
           Version: 2.1.1
          Platform: FreeBSD Ports
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Version:           2.1.1 (using KDE 4.6.5) 
OS:                FreeBSD

A mail claiming to have gb2312 encoding (but almost exclusively English text)
crashes KMail2 upon viewing that mail.

Reproducible: Always

Steps to Reproduce:
- Create new textfile
- Name it crashtest.msg
- Fill with the following:

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Wed, 10 Aug 2011 03:44:48 +0200
Received: from [621.397.520.573] (helo=somemx.somechinesecompany.example.org)
From: <[email protected]>
Reply-To: [email protected]
To: [email protected]
Date: Wed,10 aug 2011 09:37:29 +0800
X-Mailer: SMail
MIME-Version: 1.0
Content-Type: text/html;
     charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Message-ID: <123456789@[email protected]>
Subject: Foo

bar

- Save textfile
- Open with KMail2 ( or from context-menu in Dolphin)

To fix the problem:
- Open message with your favorite text-editor
- change header like so:
     charset="UTF-8"


Actual Results:  
Application: KMail (kmail), signal: Segmentation fault: 11

Expected Results:  
No crash

The mail I received displayed this problem and the text I slammed together
under 'steps to reproduce' also exhibits this problem

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to