procps/ps
Qualys Security Advisory db25d0375a ps/output.c: Protect outbuf in various pr_*() functions.
pr_bsdstart(): Replace "strcpy(outbuf," with "snprintf(outbuf, COLWID,"
(which is used in all surrounding functions). (side note: the fact that
many pr_*() functions simply return "snprintf(outbuf, COLWID," justifies
the "amount" checks added to show_one_proc() by the "ps/output.c:
Replace strcpy() with snprintf() in show_one_proc()." patch)

pr_stime(): Check the return value of strftime() (in case of an error,
"the contents of the array are undefined").

help_pr_sig(): Handle the "len < 8" case, otherwise "sig+len-8" may
point outside the sig string.

pr_context(): Handle the empty string case, or else "outbuf[len-1]"
points outside outbuf.
2018-05-19 07:32:21 +10:00
..
common.h Closes: #9 ps: Remove Unix98 output limitations 2015-10-26 11:18:52 +11:00
COPYING license: update FSF addresses 2012-03-04 08:04:24 +11:00
display.c ps/display.c: Harden show_tree(). 2018-05-19 07:32:21 +10:00
global.c Closes: #9 ps: Remove Unix98 output limitations 2015-10-26 11:18:52 +11:00
HACKING docs: remove old information from HACKING 2012-01-13 22:42:38 +01:00
help.c ps: add -q/q/--quick-pid option 2014-07-10 21:24:19 +02:00
output.c ps/output.c: Protect outbuf in various pr_*() functions. 2018-05-19 07:32:21 +10:00
parser.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00
procps.1 Consolidated patch of previously merged CYGWIN support 2017-09-03 20:59:23 +10:00
ps.1 ps: add times & cputimes format specifiers: cumulative CPU time in seconds 2018-03-02 21:58:45 +11:00
regression procps 010114 2002-02-01 22:47:29 +00:00
select.c ps: add -q/q/--quick-pid option 2014-07-10 21:24:19 +02:00
sortformat.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00
stacktrace.c misc: eliminate all those remaining gcc -Wall warnings 2017-05-22 21:34:32 +10:00