]> granicus.if.org Git - procps-ng/commit
pmap: minor Coverity fix for -N option
authorCraig Small <csmall@dropbear.xyz>
Tue, 2 Nov 2021 06:14:29 +0000 (17:14 +1100)
committerCraig Small <csmall@dropbear.xyz>
Tue, 2 Nov 2021 06:14:29 +0000 (17:14 +1100)
commitf3e52900128c0d536a747433fd4120b5f1de1e7d
treeb17015b79d28a913a2b2b1dc8f054e826b5a0618
parentad51fef1aaaaf6e059dfd62e8778318ed59000de
pmap: minor Coverity fix for -N option

99126 Explicit null dereferenced
Not 100% sure this is valid (the same branch that sets the variable
is the one that sets N_option) but not too hard to fix.

Signed-off-by: Craig Small <csmall@dropbear.xyz>
pmap.c