Commit 8a291c26 authored by Andras Becsi's avatar Andras Becsi
Browse files

Debug built crashes on start using Linux kernel > 3.16 due to SHMMAX change

https://code.google.com/p/chromium/issues/detail?id=403869
Cherry-pick https://codereview.chromium.org/471893003
Author: brettw@chromium.org

Parse shmmax as a uint64

A recent Linux kernel change changed this to a number larger than 63 bits which causes us to compute 0 size.
I kept the size_t overflow check for cases where size_t is 32-bits.

BUG=403869
R=jamesr@chromium.org

Change-Id: I2ed233ec7d98484e3b25534df3a087d4f8ea26b4
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289903


Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
No related merge requests found
Showing with 3 additions and 4 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment