Closed
Bug 1743225
Opened 3 years ago
Closed 3 years ago
Return an error from AutoMemMap::initWithHandle() if MapViewOfFile() returns null
Categories
(Core :: IPC, task, P3)
Tracking
()
RESOLVED
FIXED
96 Branch
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
As described in bug 1715975 comment 3, AutoMemMap::initWithHandle will return Ok() even if MapViewOfFile returns a null addr:
initWithHandle should return an error like Err(NS_ERROR_FAILURE).
I audited the other MapViewOfFile calls in mozilla-central and they all handle the null return correctly.
| Assignee | ||
Comment 1•3 years ago
|
||
Pushed by cpeterson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/28bdf3329f49
Return an error from AutoMemMap::initWithHandle() if MapViewOfFile() returns null. r=jld
| Assignee | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•