diff options
author | Joern Engel <joern@logfs.org> | 2014-09-03 01:49:55 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-09-18 00:54:38 +0400 |
commit | fdc84d11a278d468052afc8e17523545fafe6c5f (patch) | |
tree | 278fa117625f9e5140d2af3d11ea03f24b4ad116 /net/lapb/lapb_timer.c | |
parent | 94e16e9c59312247de199b5f9bf141d1bd946dd0 (diff) | |
download | linux-fdc84d11a278d468052afc8e17523545fafe6c5f.tar.xz |
iscsi-target: use strlcpy in iscsit_collect_login_stats
last_intr_fail_name is a fixed-size array and could theoretically
overflow. In reality intrname->value doesn't seem to depend on
untrusted input or be anywhere near 224 characters, so the overflow is
pretty theoretical. But strlcpy is cheap enough.
Found by coverity.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions