]> granicus.if.org Git - procps-ng/commit
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>
Fri, 18 May 2018 21:32:34 +0000 (07:32 +1000)
commitd69966962c06ed2d2d928f0772ec633bf558b2f4
treed82b7d6794caf6c4c4ceed49fef9fa1879db7331
parent131e5e2fe63f29edfc7df04b2b2a1682d93af846
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