From: Wei Yongjun Date: Tue, 9 Apr 2013 02:07:19 +0000 (+0800) Subject: netrom: fix invalid use of sizeof in nr_recvmsg() X-Git-Tag: v3.2.45~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aab74a81920693e6852b2adfdcec92411c7e10d7;p=pandora-kernel.git netrom: fix invalid use of sizeof in nr_recvmsg() [ Upstream commit c802d759623acbd6e1ee9fbdabae89159a513913 ] sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Introduced by commit 3ce5ef(netrom: fix info leak via msg_name in nr_recvmsg) Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed