]> granicus.if.org Git - procps-ng/commit
proc/readproc.c: Harden simple_nextpid().
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:22 +0000 (07:32 +1000)
commit1b8ec51013a4045fa8c44d49ed9000356a6625ac
treeeea3792574976b233bebecb7ba36ebac2aba5fd7
parent263c0ebdd847ebe1382a1ba5f0cb8570d949ca2a
proc/readproc.c: Harden simple_nextpid().

Replace memcpy+strcpy with snprintf.
proc/readproc.c