]> granicus.if.org Git - procps-ng/commit
pidof: Do not skip the NULL terminator in cmdline.
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Fri, 18 May 2018 21:32:21 +0000 (07:32 +1000)
commitbba9f384c041b4f2d642670a72dea20afd3011a8
tree4e9fcde93350c0b1d496a3e7ace8e9bc8657f24f
parent6cadda2b4fb12958ab7c8e612d726ca47cde6798
pidof: Do not skip the NULL terminator in cmdline.

This should never happen (cmdline[0] should always be non-NULL), but
just in case.
pidof.c