Closed Bug 156630 Opened 23 years ago Closed 23 years ago

email with empty 'subject' crashes mozilla - Trunk [@ MSVCRT.DLL - MimeMessage_close_headers] MimeMessage_close_headers]

Categories

(MailNews Core :: MIME, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: damir.perisa, Assigned: rods)

References

Details

(4 keywords)

Crash Data

Attachments

(1 file)

buildID 2002070904: emails with empty 'subject' hang mozilla when tried to open reproducable: with all empty-subject-emails howto reproduce: send yourself an email with an empty 'subject' line and try to open it with mozilla 2002070904 (maybe other builts too) (many people send emails with empty subject-line, netscape warns the user since version 4.5 but often users ignore it; and there are other 'stupid' programms that do not warn you when trying to send an email without a subject :-( but mozilla must not hang when trying to open them!!)
WFM on 1.1a build 2002061104 (I know it's old). Mozilla doesn't allow me to send an empty subject (it will remove the entire header), but I used my mac.com account to send me an email with an empty header.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a+) Gecko/20020709 > Mozilla doesn't allow me to send an empty subject > (it will remove the entire header), The crash occurs both without Subject: and with empty Subject:.
Confirming this bug. Reproduced it, and send a Talkback -> TB8174254W Using trunk build 2002071004 - WinXP.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: major → critical
Keywords: crash, regression
Summary: email with empty 'subject' hangs mozilla → email with empty 'subject' crashes mozilla
Seeing this with trunk build 2002070913 Win2000 Talkback : TB8174031Y TB8174062K TB8174128H
Dupe of bug 154753 for sure.
*** Bug 156671 has been marked as a duplicate of this bug. ***
i'm not a programmer but here an idea how to solve this bug: a filter should check emails ariving and add a value (e.g. ''no subject specified'') in the subject-line while the email is downloaded from server
In answer to comment #6 : crash also happens when trying to view a message in inbox without subject in it.
There was a checkin yesterday that didn't null check the return value of GetHeaderValue() before using it at mozilla/mailnews/mime/emitters/src/nsMimeHtmlEmitter.cpp:312.
Assignee: sspitzer → rods
Component: Mail Window Front End → MIME
Hardware: PC → All
fixed - I backed out checkin for Bug 156307, reopening 156307
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
fix verified in mozilla nightly 2002071104 thx
Status: RESOLVED → VERIFIED
Adding topcrash+, testcase keywords and Trunk [@ MSVCRT.DLL - MimeMessage_close_headers] to summary for future reference. This *was* a topcrash with MozillaTrunk builds on 7/10.
Keywords: testcase, topcrash+
Summary: email with empty 'subject' crashes mozilla → email with empty 'subject' crashes mozilla - Trunk [@ MSVCRT.DLL - MimeMessage_close_headers] MimeMessage_close_headers]
*** Bug 159872 has been marked as a duplicate of this bug. ***
Product: MailNews → Core
Product: Core → MailNews Core
Crash Signature: [@ MSVCRT.DLL - MimeMessage_close_headers] MimeMessage_close_headers]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: