Closed Bug 1488463 Opened Last year Closed Last year

Unreported OOM during regexp compilation

Categories

(Core :: JavaScript Engine, enhancement)

61 Branch
enhancement
Not set

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: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.