Closed Bug 1488463 Opened 6 years ago Closed 6 years ago

Unreported OOM during regexp compilation

Categories

(Core :: JavaScript Engine, enhancement)

61 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: jonco, Assigned: jonco)

Details

Attachments

(1 file)

RegExpShared::compile() doesn't report an exception if the call to addTable() fails.
Patch to add missing call to ReportOutOfMemory().
Attachment #9006286 - Flags: review?(nicolas.b.pierron)
Attachment #9006286 - Flags: review?(nicolas.b.pierron) → review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ccd4dbac66cd
Handle OOM in RegExpShared::compile() r=nbp
https://hg.mozilla.org/mozilla-central/rev/ccd4dbac66cd
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: