diff options
author | Lioncash <mathew1800@gmail.com> | 2014-08-17 14:08:39 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-08-17 14:08:43 -0400 |
commit | cc9f352b669e7d8ef136b286b9ab5b5c93324111 (patch) | |
tree | 55e8dd7b61f344f6a89250714b47e7e2e3e9474f /src/common/symbols.cpp | |
parent | d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0 (diff) |
Common: Correctly set ptr to null if mmap fails in memory_util
On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
Diffstat (limited to 'src/common/symbols.cpp')
0 files changed, 0 insertions, 0 deletions