]> granicus.if.org Git - procps-ng/commit
0054-ps/output.c: Fix outbuf overflows in pr_args() etc.
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:45:38 +0000 (21:45 +1000)
commit67c1ec468564060f4f229fa64773d050af517fa7
tree623bc2ceaa3e1fa49ea2b67b8d5c9d783f24b861
parent43c4d553e66f4c39ed6243ed278865431a66d019
0054-ps/output.c: Fix outbuf overflows in pr_args() etc.

Because there is usually less than OUTBUF_SIZE available at endp.

---------------------------- adapted for newlib branch
. logic is quite different with 'stacks' vs. 'proc_t'
. ps no longer deals with the library 'FILL...' flags

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