From: Dan Carpenter Date: Mon, 30 Jan 2012 07:59:49 +0000 (+0300) Subject: exofs: Cap on the memcpy() size X-Git-Tag: v3.4-rc1~50^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72749a270b6d254b4a018e290b853c27edb2fa62;p=pandora-kernel.git exofs: Cap on the memcpy() size This data comes from the device, so probably it's fairly trustworthy but it makes the static checkers happy if we check it. [Boaz] the system_id_len is zero, if not present, or always OSD_SYSTEMID_LEN. So always copy OSD_SYSTEMID_LEN bytes. Signed-off-by: Dan Carpenter Signed-off-by: Boaz Harrosh --- Reading git-diff-tree failed