Closed Bug 928914 Opened 12 years ago Closed 12 years ago

IonMonkey: Fix OOM error in IonAllocPolicy

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 929065

People

(Reporter: h4writer, Assigned: h4writer)

References

Details

Attachments

(1 file)

Found this fault when prototyping 'recompile without invalidation' to ionmonkey. Looks like we don't test for NULL before using memset. This can cause crashes when we can allocate more memory anymore and we use calloc.
Attached patch Fix OOM issueSplinter Review
Assignee: nobody → hv1989
Attachment #819705 - Flags: review?(luke)
Blocks: 810192, 918278
Attachment #819705 - Flags: review?(luke) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: