[pmmail-list] Crash due to quoted-printable subject
Tim Roberts
pmmail-list@blueprintsoftwareworks.com
Mon, 15 Sep 2003 10:08:29 -0700
--_=_=_=IMA.BOUNDARY.HL9MA5138764=_=_=_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Today, my rock-solid PMMail/Windows 2.20.2520 crashed immediately upon opening
with a "Visual C++ Run-time Library Exception". After much frustration and a
session with a debugger, I discovered that the crash was caused when trying to
parse an e-mail with a long subject line with quoted-printable encoding. The
subject line is about 300 characters long, and starts out:
Subject: =?gb2312?q?=C8=ED=C3=C5=C1=B1=A3=AC=B8=DF=CB=D9=BE=ED=C3=C5=A3=AC=...
The error is an "uncaught C++ exception". One possible guess is that the
header processor stopped reading after the first 256 characters, making the
string unparsable.
I have attached a copy of the offending message. Note that I had to change the
message extension before attaching it; PMMail even crashed when I tried to
attach the message to this mail with the original .MSG extension. (Not too
surprising; PMMail tries to parse .MSG attachments to extract the subject line
for the attachment box.)
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------
--_=_=_=IMA.BOUNDARY.HL9MA5138764=_=_=_
Content-Type: text/plain; name="HL9J6D0.TXT"
Content-Transfer-Encoding: base64
WC1FbnZlbG9wZS1UbzogPHRpbXJAcHJvYm8uY29tPg0KUmV0dXJuLVBhdGg6IDxzYWxlc0A2NjUy
MDU5Ni5jb20+DQpSZWNlaXZlZDogZnJvbSA2NjUyMDU5NjEzNDQuY29tIChbNjEuNTEuMTQ0LjIx
NF0pDQoJYnkgcHJvYm8ucHJvYm8uY29tICg4LjExLjYvOC4xMS42KSB3aXRoIFNNVFAgaWQgaDhF
QVRFRzEzNTg1DQoJZm9yIDx0aW1yQHByb2JvLmN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