]> granicus.if.org Git - procps-ng/commit
0078-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>
Sat, 9 Jun 2018 11:35:19 +0000 (21:35 +1000)
commitc03e52786dd74c188c92e2156c2c75088d247096
tree69f3485f32baba6cb2defd9c58bdb00d78fdc0c3
parented463c7d88429bef650e361eb833bd6fc1505e72
0078-proc/readproc.c: Harden simple_nextpid().

Replace memcpy+strcpy with snprintf.

---------------------------- adapted for newlib branch
. adapted via 'patch' (without rejections)

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