From: Sasha Levin Date: Wed, 6 Jun 2012 21:02:55 +0000 (+0200) Subject: NFC: Fix possible NULL ptr deref when getting the name of a socket X-Git-Tag: v3.5-rc3~22^2~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58d1eab7ef1d7ff8e448699dfd1a21b7f3303296;p=pandora-kernel.git NFC: Fix possible NULL ptr deref when getting the name of a socket llcp_sock_getname() might get called before the LLCP socket was created. This condition isn't checked, and llcp_sock_getname will simply deref a NULL ptr in that case. This exists starting with d646960 ("NFC: Initial LLCP support"). Signed-off-by: Sasha Levin Signed-off-by: John W. Linville --- Reading git-diff-tree failed