Closed Bug 280771 Opened 20 years ago Closed 20 years ago

null result of GetDOMSlots is not well handled [@nsGenericElement::GetChildNodes]

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dewildt, Assigned: dewildt)

Details

Attachments

(1 file)

In oom situations GetDomSlots could return nsnull. This situation is not handled
in nsGenericElement::GetAttributes and nsGenericElement::GetChildNodes
Status: NEW → ASSIGNED
Return NS_ERROR_OUT_OF_MEMORY when GetDomSlots returns null
Attachment #173165 - Flags: superreview?(jst)
Attachment #173165 - Flags: review?(jst)
Comment on attachment 173165 [details] [diff] [review]
Patch catches GetDomSlots null result

r+sr=jst
Attachment #173165 - Flags: superreview?(jst)
Attachment #173165 - Flags: superreview+
Attachment #173165 - Flags: review?(jst)
Attachment #173165 - Flags: review+
Checked in yesterday by bzbarsky.
=> fixed
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: