OSDN Git Service

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)
commit1e4c8dafbb6bf72fb5eca035b861e39c5896c2b7
tree028e1d7d0332733c2b2d8dc23e3ab227a6dc2f37
parent2ab5daf867d1f7898327962d59d3039206294d3a
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