summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Eremin <dmitry.eremin@intel.com>2015-11-04 13:40:00 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-15 20:02:47 -0800
commit9563fe8a2de9db5eb087fe0e48ec335ee66f8f41 (patch)
treee29476bc31c95388c7552f91b1ff9b6d21f9b4d2 /tools/perf/scripts/python
parent30a0a431e043b378bbf75e0f88d700812d24ef80 (diff)
downloadlinux-9563fe8a2de9db5eb087fe0e48ec335ee66f8f41.tar.gz
linux-9563fe8a2de9db5eb087fe0e48ec335ee66f8f41.zip
staging: lustre: fix buffer overflow of string buffer
Buffer overflow of string buffer due to non null terminated string. Use strlcpy() when it's justifiable. Use sizeof(var) instead of constants. Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4629 Reviewed-on: http://review.whamcloud.com/9389 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions