aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-03-24 14:51:28 -0300
committerArnaldo Carvalho de Melo <[email protected]>2017-03-24 16:05:31 -0300
commit39f0e7a825cfc971dc9ad40b0770c22f6f4f89b8 (patch)
tree614ff8fc65f75f578e46821167a4ab0ff0667c31 /include/linux/fpga/fpga-bridge.h
parente3a6a62400520452fe39740dca90a1d0b94b8f92 (diff)
perf trace: Check for vfs_getname.pathname length
It shouldn't be zero, but if the 'perf probe' on getname_flags() (or elsewhere in the future we need to probe to catch the pathname for syscalls like 'open' being copied from userspace to the kernel) is misplaced somehow, then we will end up not allocating space and trying to copy the "" empty string to ttrace->filename.name, causing a segfault, fix it. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[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