]> granicus.if.org Git - strace/commit
mem: handle potential error from sysconf(_SC_PAGESIZE)
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 2 May 2018 18:04:23 +0000 (20:04 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 3 May 2018 00:09:53 +0000 (00:09 +0000)
commit4eb79a767dab86e772053df9ffa18ce57965f5f8
tree85222aa1305efc27a6933b32007cb845f2384961
parente1499151e94c1f643b8e3d2f22caf27379c09eb1
mem: handle potential error from sysconf(_SC_PAGESIZE)

Reported by Coverity scan.

* mem.c (get_pagesize): Handle the case when sysconf(_SC_PAGESIZE)
returns an error.
mem.c