Closed Bug 10259 Opened 26 years ago Closed 26 years ago

Crash when file not found

Categories

(Core :: DOM: HTML Parser, defect, P3)

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: davidm, Assigned: nisheeth_mozilla)

Details

(Keywords: crash)

I am crashing in ConvertorInputStream::ConvertorInputStream() because aStream is null and is not check before being addrefed. I think the actual problem is in nxEcpatTokenizer.cpp where the I get an debug message saying a file is not found but on line 588 ( nsExpatTokenizer::HandleExternalEntityRef() the OpenInputStream return value is not checked for errors.
Assignee: rickg → nisheeth
Nisheeth -- I can do this if you prefer.
Status: NEW → ASSIGNED
I have a fix for this sitting in my tree. It involves changing nsINetService.h over in netlib land. I'm waiting on approval from the netlib guys. Once I have that I'll check the fix in.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I just checked in the fix.
Adding crash keyword
Keywords: crash
verified fixed 2000-08-18-06-M18 : Linux 2000-08-18-08-M18 : Win32 2000-08-18-08-M18 : Mac
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.