Closed Bug 277565 Opened 20 years ago Closed 19 years ago

Result of NS_NewMenuFrame is not checked [@nsCSSFrameConstructor::ConstructXULFrame]

Categories

(Core :: XUL, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 313817

People

(Reporter: dewildt, Unassigned)

References

()

Details

(Keywords: crash, helpwanted, Whiteboard: oom)

Crash Data

In out of memory situations will NS_NewMenuFrame fail. This is not catched in nsCSSFrameConstructor::ConstructXULFrame which results in an "access denied" crash.
Most of frame construction is like this.... :(
Keywords: helpwanted
Whiteboard: oom
Is it usefull to fix this bug and cleanup the NS_New*Frame functions simultaneously? (See http://wiki.mozilla.org/index.php/Gecko:DeCOMtamination)
Depends on: 307320
Bug 313817 has DeCOMtaminate NS_New*Frame. OOM cases are also catched => marking this bug as a duplicate *** This bug has been marked as a duplicate of 313817 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.widgets
Crash Signature: [@nsCSSFrameConstructor::ConstructXULFrame]
You need to log in before you can comment on or make changes to this bug.