#779364 pan: Crash when opening article with layered attachments

Package:
pan
Source:
pan
Description:
newsreader based on GTK3, which looks like Forte Agent
Submitter:
Alfred Karl Kornel
Date:
2022-07-17 12:51:07 UTC
Severity:
important
Tags:
#779364#5
Date:
2015-02-27 18:12:33 UTC
From:
To:
Hello!

I am having an issue with Pan, where it is crashing when I try to open certain
articles.

All spam reports received get posted to a newsgroup, as-is.  It seems that, in
certain cases, opening those posts causes Pan to crash.  The particular article
causing the crash has multiple multipart MIME layers:

* The article's content-type is multipart/mixed, which contains a single message/rfc822 email.
* That email's MIME type is also multipart/mixed, and contains a single multipart/alternative.
* The multipart/alternative contains two items: A text/plain and a third
multipart/mixed.
* The text/plain is an email as plain (quoted-printable) text.
* The innermost multipart/mixed contains a text/html part (the email as HTML)
and a PDF (as an inline attachment).

I think something about that post, and all of its MIME layers, is crashing Pan.

I am attaching two items.  First is the post in question that is crashing Pan.
Second is the output of running `gdb --args pan --debug`, showing Pan's debug
messages and the crash backtrace.

Let me know if you need anything else!

#779364#10
Date:
2015-03-01 08:37:27 UTC
From:
To:
I've forwarded your bug upstream:

https://bugzilla.gnome.org/show_bug.cgi?id=745357

Could you please follow up on this bug to answer any question upstream may
have ?

All the best

#779364#17
Date:
2015-03-01 18:31:13 UTC
From:
To:
Hi Dominique,

Certainly!  I have CCed myself on the bug, and will watch for any questions.

~ Karl

#779364#26
Date:
2022-06-19 17:21:14 UTC
From:
To:
Hello Karl
certain

In 2015, you reported a bug on Pan which crashed when opening some articles.

The backtrace shows a problem with g_mime_multipart_encrypted_decrypt (). I
guess that the crash was triggered by utf-8 encoded character that can be
found in the article mentioned in the bug report [1].

A lot of related to utf-8 and gmime are now fixed in Pan which is now v.0150.

Could you try again ?

If not, if the leland group public ? We hope to be able to reproduce this bug.

All the best

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779364

#779364#35
Date:
2022-07-17 12:49:17 UTC
From:
To:
close 779364 0.150-1
thanks

Since I can't reproduce this problem and I got no news for 3 weeks on
Debian side, I'm going to closes this bug.

Feel free to re-open if you still have problems.

All the best