]> git.baikalelectronics.ru Git - kernel.git/commit
ima: fix showing large 'violations' or 'runtime_measurements_count'
authorEric Biggers <ebiggers@google.com>
Fri, 7 Sep 2018 21:33:24 +0000 (14:33 -0700)
committerMimi Zohar <zohar@linux.ibm.com>
Wed, 10 Oct 2018 16:56:16 +0000 (12:56 -0400)
commit474fb8c083de7965f9a1e0d9f1656e8992dc8aa1
tree028e1d7d0332733c2b2d8dc23e3ab227a6dc2f37
parent8fc621a7588e21f235a36497720c7d0bb03dd63a
ima: fix showing large 'violations' or 'runtime_measurements_count'

The 12 character temporary buffer is not necessarily long enough to hold
a 'long' value.  Increase it.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_fs.c