Closed Bug 220103 Opened 21 years ago Closed 21 years ago

@mozilla.org/download;1 uses null mInner

Categories

(SeaMonkey :: Download & File Handling, defect)

x86
BeOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

(Keywords: crash)

Attachments

(1 file)

Create @mozilla.org/download;1 in xpcshell, discover interfaces using
instanceof or queryinterface. then interogate properties.
many properties will crash since mInner is null
Attached patch nullcheckSplinter Review
Attachment #132003 - Flags: superreview?(bz-vacation)
Attachment #132003 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 132003 [details] [diff] [review]
nullcheck

sr=bzbarsky if you move the return statement onto its own line.
Attachment #132003 - Flags: superreview?(bz-vacation) → superreview+
Attachment #132003 - Flags: review?(neil.parkwaycc.co.uk) → review+
fix checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: