]> granicus.if.org Git - procps-ng/commit
0088-pmap: Always check the return value of fgets().
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Sat, 23 Jun 2018 11:59:14 +0000 (21:59 +1000)
commit5f654f143a30aa05083ca5bb81047afe5e5f597c
treeee7da85c36007a6191cfd26300e175131422e6b9
parent45f81ef706cf96ff57c3ba6eb41ab60ab6303861
0088-pmap: Always check the return value of fgets().

Otherwise "the contents of the array remain unchanged and a null pointer
is returned" or "the array contents are indeterminate and a null pointer
is returned".

Signed-off-by: Craig Small <csmall@enc.com.au>
pmap.c