]> granicus.if.org Git - procps-ng/commit
top: check sortindx risk exposure (not treat symptoms)
authorJim Warner <james.warner@comcast.net>
Fri, 18 May 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 19 May 2018 11:24:36 +0000 (21:24 +1000)
commit3b2235c2662ce607c6188827245c82b818a0265e
tree349cbd05e00a2448bb96c5b7f9454fe8bf8f319c
parentfb8cee585fe2a0cef10114c2986e94bc2572a336
top: check sortindx risk exposure (not treat symptoms)

Rather than validate the window's 'sortindx' each time
it was referenced (as was done in the patch below), we
now ensure the validity just once when the config file
is read. Thereafter, a running top will police bounds.

Reference(s):
. original qualys patch
0102-top-Check-sortindx.patch
commit d5b8ac7139093a5faf1f3c32d7d069728c471952

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