]> granicus.if.org Git - procps-ng/commit
0106-top: Fix snprintf() call in capsmk().
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)
commit2c461c8b05180765ef61dfa955c195ee29a442a0
tree36aae3278356ddcd9ef8da12418bfd7dbb2de624
parentf02fff62fb2d1d43bc8bcf8d725ce6863fdc4b64
0106-top: Fix snprintf() call in capsmk().

Replace "snprintf(msg, sizeof(pmt)" with "snprintf(msg, sizeof(msg)".
Luckily sizeof(pmt) == sizeof(msg), but fix it anyway.
top/top.c