[Coverity] Ensure that we never return -1 from pagesize operation, helps eliminate...
authorMiguel de Icaza <miguel@gnome.org>
Sat, 6 Apr 2019 09:41:28 +0000 (05:41 -0400)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Sat, 6 Apr 2019 09:41:28 +0000 (11:41 +0200)
commit0a69639e6f9812c9e3742b74e283a79f2df1a392
tree18ace0bf51e44a8e301923228a6353c3730e6115
parent25770847280cc44c4bd579ca55c9ea2c6dcb8248
[Coverity] Ensure that we never return -1 from pagesize operation, helps eliminate many false positives (mono/mono#13863)

Commit migrated from https://github.com/mono/mono/commit/8567415aea784cff65c51d5347870a14c2605956
src/mono/mono/utils/mono-mmap.c