Closed Bug 1554380 Opened 6 years ago Closed 6 years ago

Fix some issues in mozilla::ReadAhead

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 69
Tracking Status
firefox69 --- fixed

People

(Reporter: emk, Assigned: emk)

References

Details

Attachments

(1 file)

No description provided.
  • CreateFileW will return INVALID_HANDLE_VALUE (-1) on failure, not NULL (0).
  • MapViewOfFile will map the entire section if the size is 0. No explicit size
    is required.
  • If SEC_IMAGE is specified, the mapped image size may be different from the
    file size on the storage.
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Pushed by VYV03354@nifty.ne.jp: https://hg.mozilla.org/integration/autoland/rev/e46ea74dec51 Fix some issues in mozilla::ReadAhead. r=aklotz
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: