Closed
Bug 345383
Opened 18 years ago
Closed 18 years ago
Crash [@ nsMsgCompose::InitEditor]
Categories
(MailNews Core :: Composition, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.8.1
People
(Reporter: florian, Assigned: florian)
References
Details
(Keywords: crash, fixed1.8.1, verified1.8.1.3)
Crash Data
Attachments
(2 files)
1001 bytes,
patch
|
mscott
:
review+
mscott
:
superreview+
mscott
:
approval-thunderbird2+
|
Details | Diff | Splinter Review |
1.08 KB,
patch
|
mscott
:
review+
|
Details | Diff | Splinter Review |
nsMsgCompose::InitEditor uses the m_window variable although it's not sure that it has been initialized (because nsMsgCompose::Initialize can take null as its first parameter).
nsMsgCompose::InitEditor has a second argument (nsIDOMWindow* aContentWindow) that isn't used in the function.
In an extension that I am developing, this use of the (maybe uninitialized) m_window variable leads to a segfault.
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #230024 -
Flags: review?(mscott)
Updated•18 years ago
|
Assignee: mscott → nobody
Severity: normal → critical
Component: Message Compose Window → MailNews: Composition
Flags: review?(mscott)
Keywords: crash
Product: Thunderbird → Core
QA Contact: message-compose → composition
Summary: Crash (segfault) in nsMsgCompose::InitEditor → Crash [@ nsMsgCompose::InitEditor]
Version: unspecified → 1.8 Branch
Comment 2•18 years ago
|
||
Sorry Florian, Bugzilla clobbered your review request when I moved the component. Feel free to re-request.
Assignee | ||
Updated•18 years ago
|
Attachment #230024 -
Flags: superreview?(mscott)
Attachment #230024 -
Flags: review?(mscott)
Comment 3•18 years ago
|
||
Comment on attachment 230024 [details] [diff] [review]
patch v1
this change looks ok to me.
Attachment #230024 -
Flags: superreview?(mscott)
Attachment #230024 -
Flags: superreview+
Attachment #230024 -
Flags: review?(mscott)
Attachment #230024 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Attachment #230024 -
Flags: approval-thunderbird2?
Updated•18 years ago
|
Whiteboard: [needs approval]
Comment 5•18 years ago
|
||
Comment on attachment 230024 [details] [diff] [review]
patch v1
thanks for poking me Adam.
Attachment #230024 -
Flags: approval-thunderbird2? → approval-thunderbird2+
Updated•18 years ago
|
Whiteboard: [needs approval] → [checkin needed (1.8 branch)]
Comment 6•18 years ago
|
||
Gavin, do you mind landing this on the 1.8.1 branch for tbird?
Comment 7•18 years ago
|
||
(In reply to comment #6)
> Gavin, do you mind landing this on the 1.8.1 branch for tbird?
Not at all, but it doesn't apply cleanly, so I'd like you to verify that this patch is correct (bug 316794 didn't land on the branch).
Attachment #241772 -
Flags: review?
Updated•18 years ago
|
Attachment #241772 -
Flags: review? → review?(mscott)
Comment 8•18 years ago
|
||
Comment on attachment 241772 [details] [diff] [review]
1.8 branch patch
thanks for double checking.
Attachment #241772 -
Flags: review?(mscott) → review+
Comment 9•18 years ago
|
||
mozilla/mailnews/compose/src/nsMsgCompose.cpp 1.460.2.25
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [checkin needed (1.8 branch)]
Target Milestone: --- → mozilla1.8.1
Comment 10•18 years ago
|
||
Reporter: Can you kindly help QA verify this bug using the Thunderbird candidate build: ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2.0.0.0-candidates/. Thanks.
Assignee | ||
Comment 11•18 years ago
|
||
(In reply to comment #10)
> Reporter: Can you kindly help QA verify this bug using the Thunderbird
> candidate build:
> ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2.0.0.0-candidates/.
> Thanks.
>
It works without crashing in that candidate build.
Status: RESOLVED → VERIFIED
Comment 12•18 years ago
|
||
Florian: Thanks for your reply. Based on Comment 11, adding the branch verified keyword.
Keywords: verified1.8.1.3
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•14 years ago
|
Crash Signature: [@ nsMsgCompose::InitEditor]
You need to log in
before you can comment on or make changes to this bug.
Description
•