Closed Bug 1432239 Opened 7 years ago Closed 7 years ago

Sandbox MinGW Compilation errors: no matching function for call to operator new []

Categories

(Core :: Security: Process Sandboxing, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

Details

(Whiteboard: [tor][mingw-upstream-pending])

Attachments

(1 file)

0:02.57 /home/tom/Documents/moz/mingw-work/sandbox/security/sandbox/chromium/sandbox/win/src/interception_agent.cc:114:62: error: no matching function for call to ‘operator new [](sizetype, sandbox::AllocationType, void*&)’
 0:02.57                   new(NT_PAGE, base_address) char[buffer_bytes]);
Summary: Sandbox MinGW Compilation errors: → Sandbox MinGW Compilation errors: no matching function for call to operator new []
Depends on: 1431825
Blocks: 1432295
Comment on attachment 8944475 [details]
Bug 1432239 Declare operator new [](size_t, sandbox::AllocationType, void*)

https://reviewboard.mozilla.org/r/214666/#review220452

This made me nervous at first, but given the way this allocation works, I think this is OK.
Attachment #8944475 - Flags: review?(bobowencode) → review+
Patch Order: Bug 1432239 (this bug), Bug 1432295 , Bug 1432313
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b3ddabc679cf
Declare operator new [](size_t, sandbox::AllocationType, void*) r=bobowen
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/b3ddabc679cf
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: