diff options
author | 2017-05-16 14:53:47 +0200 | |
---|---|---|
committer | 2017-06-21 14:37:12 -0400 | |
commit | e4586c79d4ba24a02f63a17e49207007c3bbdaea (patch) | |
tree | 92c100579c956bd745aed150c01200ed2c3f362a /net/unix/af_unix.c | |
parent | ima: use ima_parse_buf() to parse template data (diff) | |
download | wireguard-linux-e4586c79d4ba24a02f63a17e49207007c3bbdaea.tar.xz wireguard-linux-e4586c79d4ba24a02f63a17e49207007c3bbdaea.zip |
ima: fix get_binary_runtime_size()
Remove '+ 1' from 'size += strlen(entry->template_desc->name) + 1;',
as the template name is sent to userspace without the '\0' character.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions