aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorRoberto Sassu <[email protected]>2017-05-16 12:53:47 +0000
committerMimi Zohar <[email protected]>2017-06-21 18:37:12 +0000
commite4586c79d4ba24a02f63a17e49207007c3bbdaea (patch)
tree92c100579c956bd745aed150c01200ed2c3f362a /drivers/fpga/fpga-mgr.c
parentima: use ima_parse_buf() to parse template data (diff)
downloadkernel-e4586c79d4ba24a02f63a17e49207007c3bbdaea.tar.gz
kernel-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 <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions