Closed Bug 533492 Opened 15 years ago Closed 15 years ago

GCHeap::ExpandHeap can Abort when canFail is true

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)

defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 535545
flash10.1

People

(Reporter: stejohns, Assigned: treilly)

Details

If you pass a giant askSize to GCHeap::ExpandHeap (eg from GCHeap::Alloc) with canFail=true, if will call Abort() if ExpandHeapInternal() fails. This is wrong; canFail=true indicates we should simply return a failure code to the caller, who should return NULL.
Presumably related to recent mail thread from Gavin?
Assignee: nobody → treilly
Priority: -- → P2
Target Milestone: --- → flash10.1
fixed, dupe of 535545
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.