]> granicus.if.org Git - procps-ng/commit
top: Check i when setting Curwin in config_file().
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:22 +0000 (07:32 +1000)
commitbd91bbf7f12fe34dd1369466c9c2f8d685d3d2fd
treea9f3dfea9611426731fc6d4b139ff5b92aa9989f
parentb45c4803dd176f4e3f9d3d47421ddec9bbbe66cd
top: Check i when setting Curwin in config_file().

Otherwise it leads to out-of-bounds reads (and maybe writes).
top/top.c