]> granicus.if.org Git - procps-ng/commit
Fix out of boundary write on 1x1 terminals
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 19 Feb 2017 15:12:42 +0000 (15:12 +0000)
committerCraig Small <csmall@enc.com.au>
Sat, 19 Aug 2017 13:10:26 +0000 (23:10 +1000)
commite6e228e7f4ce674a3017dda80ab196022a4046a4
tree4f1f6719de767ac9e8d5c3e9196af74e8b1b6715
parentd8fb86dbc596ca1c70766b65c5fd6d29a6972da7
Fix out of boundary write on 1x1 terminals

If a terminal is merely 1x1 in size, setsize() will write a nul byte in
front of the allocated memory, which is an out of boundary write.
tload.c