Closed Bug 241710 Opened 20 years ago Closed 20 years ago

nsILocalFile.getRelativeDescriptor(null) crashes

Categories

(Core :: XPCOM, defect)

x86
All
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

(Keywords: crash)

Attachments

(2 files)

crashes on linux and windows2000
Keywords: crash
Attached patch ensure pointerSplinter Review
Attachment #147035 - Flags: review?(dougt)
Comment on attachment 147035 [details] [diff] [review]
ensure pointer

r=.  Also edit the IDL to declare passing a NULL value as the |fromFile| has an
undefined result.
Attachment #147035 - Flags: review?(dougt) → review+
Severity: normal → critical
mozilla/xpcom/io/nsLocalFileCommon.cpp 	1.44
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
mozilla/xpcom/io/nsILocalFile.idl 	1.26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: