From: Dan Rosenberg Date: Sun, 20 Mar 2011 15:32:06 +0000 (+0000) Subject: irda: validate peer name and attribute lengths X-Git-Tag: v2.6.39-rc1~9^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d370af0ef7951188daeb15bae75db7ba57c67846;p=pandora-kernel.git irda: validate peer name and attribute lengths Length fields provided by a peer for names and attributes may be longer than the destination array sizes. Validate lengths to prevent stack buffer overflows. Signed-off-by: Dan Rosenberg Cc: stable@kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed