]> granicus.if.org Git - procps-ng/commit
0056-ps/output.c: Check return value of mmap() in init_output().
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Sat, 9 Jun 2018 11:45:38 +0000 (21:45 +1000)
commit70351dd781aabf2a9be03282281b0f61fdfceee6
tree0fc9172c234f6c0ca789ca9b497c95445acadf49
parent5d7e7cf46801a0997e6cbb1e6610f39d2a5a4fc5
0056-ps/output.c: Check return value of mmap() in init_output().

We decided not to check the return value of the mprotect() calls,
because they are not vital to the operation of ps.

---------------------------- adapted for newlib branch
. many formatting/whitespace differences

Signed-off-by: Jim Warner <james.warner@comcast.net>
ps/output.c