]> granicus.if.org Git - procps-ng/commit
0113-top: Impose a minimum on Screen_cols.
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Sat, 9 Jun 2018 11:35:20 +0000 (21:35 +1000)
commit6024543e7923d49b4475bbacb0a88d26284ccb53
treef556223a66951803c09a21c082f5c45befd16f5e
parent74e9d0afe1886727dc67e54611ace9511465dff9
0113-top: Impose a minimum on Screen_cols.

The safety of the critical function task_show() depends on the sanity of
Screen_cols. Just copy the tests on w_cols to Screen_cols (from the same
function adj_geometry()).
top/top.c