Closed Bug 236258 Opened 20 years ago Closed 20 years ago

Crash in nsMsgMdnGenerator::ProcessSendMode

Categories

(SeaMonkey :: MailNews: Backend, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7beta

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

Attachments

(1 file)

Every time I try to display a message in my pop account, Mozilla crashes. It
crashes in nsMsgMdnGenerator::ProcessSendMode at the following line:

const char *accountDomain = strchr(m_email.get(), '@');

I looked at my account's identity and I don't have an email address setup which
explain the crash. We need to check m_email before using it...
Reassign to myself
Assignee: bienvenu → mozilla
accepting
Status: NEW → ASSIGNED
Attached patch Fix v1Splinter Review
added a null check for m_email.
Attachment #142834 - Flags: review?(bienvenu)
Comment on attachment 142834 [details] [diff] [review]
Fix v1

looks fine.
Attachment #142834 - Flags: superreview+
Attachment #142834 - Flags: review?(bienvenu)
Attachment #142834 - Flags: review+
setting target and severity
Severity: normal → major
Flags: blocking1.7b?
Target Milestone: --- → mozilla1.7beta
Fix checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
OS: MacOS X → All
Hardware: Macintosh → All
Resolution: --- → FIXED
if fix is already checked in, no need to set the blocking 1.7b flag.
Flags: blocking1.7b?
Product: Browser → Seamonkey
Component: MailNews: Return Receipts → MailNews: Backend
QA Contact: grylchan → offline
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: