From: Hannes Reinecke Date: Thu, 19 Dec 2013 13:36:11 +0000 (+0100) Subject: target_core_alua: check for buffer overflow X-Git-Tag: v3.14-rc1~17^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38edd724577123c972f2264382005ac910ce747f;p=pandora-kernel.git target_core_alua: check for buffer overflow When a writing to a command-provided buffer we need to ensure that we're not writing past the end of it. At the same time we need to continue processing as typically the final data length (ie the required size of the buffer) need to be returned. Signed-off-by: Hannes Reinecke Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed