[Bug 279809] New: KMail2 crash on viewing mail in gb2312 encoding, edit to UTF-8 fixes it

Oliver dev2 at heesakkers.info
Wed Aug 10 13:15:56 BST 2011


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: kdepim-bugs at kde.org
        ReportedBy: dev2 at heesakkers.info


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: <person at somechinesecompany.example.org>
Envelope-to: me at mypersonaldomain.example.org
Delivery-date: Wed, 10 Aug 2011 03:44:48 +0200
Received: from [621.397.520.573] (helo=somemx.somechinesecompany.example.org)
From: <person at somechinesecompany.example.org>
Reply-To: person at somechinesecompany.example.org
To: me at mypersonaldomain.example.org
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 at person@somechinesecompany.example.org>
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.



More information about the Kdepim-bugs mailing list