]> granicus.if.org Git - procps-ng/commit
top: Check sortindx.
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Fri, 18 May 2018 21:32:34 +0000 (07:32 +1000)
commitd5b8ac7139093a5faf1f3c32d7d069728c471952
tree77c3c38b5985030f2dd765c8953addf55b4364de
parentbbe58d7e0af4b0c089a15da203b283421dc8a3d4
top: Check sortindx.

Every time sortindx is used as an index, or loaded from the
configuration file. Otherwise it leads to out-of-bounds reads and
arbitrary code execution.
top/top.c