From: Joern Engel Date: Tue, 2 Sep 2014 21:49:55 +0000 (-0400) Subject: iscsi-target: use strlcpy in iscsit_collect_login_stats X-Git-Tag: fixes-against-v3.18-rc2~19^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdc84d11a278d468052afc8e17523545fafe6c5f;p=pandora-kernel.git 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 Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed