]> granicus.if.org Git - procps-ng/commit
top: Prevent out-of-bounds writes in PUFF(). __Tweaked
authorJim Warner <james.warner@comcast.net>
Sat, 2 Jun 2018 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sat, 9 Jun 2018 11:35:20 +0000 (21:35 +1000)
commitbd7e1fb343b555c84f73f2dd56a0f3952e284ecc
tree79da7a5ad11bc9fc892be34470578ff301340706
parent8b94d115856968c6bf2a422ca9794c2744bce0a5
top: Prevent out-of-bounds writes in PUFF(). __Tweaked

This commit moves some overhead to the Batch mode path
where it's needed. And given the new 'else if' test we
can delete some now redundant logic in the other path.

Reference(s):
. original qualys patch
0117-top-Prevent-out-of-bounds-writes-in-PUFF.patch

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