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.9-rc7~26^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c802d759623acbd6e1ee9fbdabae89159a513913;p=pandora-kernel.git netrom: fix invalid use of sizeof in nr_recvmsg() 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 --- Reading git-diff-tree failed