diff options
author | Dmitry Eremin <dmitry.eremin@intel.com> | 2015-11-04 18:40:00 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-11-16 04:02:47 (GMT) |
commit | 9563fe8a2de9db5eb087fe0e48ec335ee66f8f41 (patch) | |
tree | e29476bc31c95388c7552f91b1ff9b6d21f9b4d2 /CREDITS | |
parent | 30a0a431e043b378bbf75e0f88d700812d24ef80 (diff) | |
download | linux-9563fe8a2de9db5eb087fe0e48ec335ee66f8f41.tar.xz |
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 'CREDITS')
0 files changed, 0 insertions, 0 deletions