]> granicus.if.org Git - procps-ng/commit
top: fix the collapsed children cpu segmentation fault
authorJim Warner <james.warner@comcast.net>
Tue, 17 Jul 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 18 Jul 2018 10:17:22 +0000 (20:17 +1000)
commit786bffc25399e2b64d2a5ad2203faf71b9bfaac3
tree248f6bed5bedf5f240f41e1daa02474326934e76
parent8626141d8f7252b1a7c5223892acefe4ac1b0ee1
top: fix the collapsed children cpu segmentation fault

While that 'Hide_cpu' value will always be zero unless
there are collapsed children, the damn array will only
be present when a window's in 'Show_FOREST' view mode.

Reference(s):
https://www.freelists.org/post/procps/important-improvements-to-top,8

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