diff options
author | Tommi Rantala <[email protected]> | 2017-03-22 15:06:22 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-03-27 15:36:27 -0300 |
commit | b7126ef78612a3d4a37aadf39125cff048cebb9b (patch) | |
tree | 27c578f26aafda5fe9d96f2770217d34712552bb /include/linux/fpga/fpga-bridge.h | |
parent | 0e6ba11511aef91ba8e2528ddc681d88922d7b0b (diff) |
perf utils: use sizeof(buf) - 1 in readlink() call
Ensure that we have space for the null byte in buf.
Signed-off-by: Tommi Rantala <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions