diff options
| author | Dmitry Eremin <[email protected]> | 2015-11-04 13:40:00 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-11-15 20:02:47 -0800 |
| commit | 9563fe8a2de9db5eb087fe0e48ec335ee66f8f41 (patch) | |
| tree | e29476bc31c95388c7552f91b1ff9b6d21f9b4d2 /tools/perf/scripts/python | |
| parent | 30a0a431e043b378bbf75e0f88d700812d24ef80 (diff) | |
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 <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4629
Reviewed-on: http://review.whamcloud.com/9389
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions