aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAlexander Usyskin <[email protected]>2014-08-25 16:46:53 +0300
committerGreg Kroah-Hartman <[email protected]>2014-09-23 22:59:10 -0700
commitcfda2794b5afe7ce64ee9605c64bef0e56a48125 (patch)
tree6585c76203157fe7309a3939af94059d0b625cb0 /include/linux/fpga/fpga-mgr.h
parent154eb18fedd5219516887a7e2bf2825b1b06ff2b (diff)
mei: bus: fix possible boundaries violation
function 'strncpy' will fill whole buffer 'id.name' of fixed size (32) with string value and will not leave place for NULL-terminator. Possible buffer boundaries violation in following string operations. Replace strncpy with strlcpy. Cc: [email protected] # 3.10+ Signed-off-by: Alexander Usyskin <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions