Qualys Security Advisory bb9c217f29 ps/display.c: Harden show_tree().
1/ Do not go deeper than the size of forest_prefix[], to prevent a
buffer overflow (sizeof(forest_prefix) is roughly 128K, but the maximum
/proc/sys/kernel/pid_max is 4M). (actually, we go deeper, but we stop
adding bytes to forest_prefix[])

2/ Always null-terminate forest_prefix[] at the current level.
2018-05-19 07:32:21 +10:00
..
2012-03-04 08:04:24 +11:00
2018-05-19 07:32:21 +10:00
2014-07-10 21:24:19 +02:00
2002-02-01 22:47:29 +00:00
2014-07-10 21:24:19 +02:00