From: Waldemar Rymarkiewicz Date: Fri, 23 Sep 2011 08:01:30 +0000 (+0200) Subject: Bluetooth: Fix possible NULL pointer dereference X-Git-Tag: v3.2-rc1~129^2~104^2^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6f98044a6cbeba8234a3d433d715e9ef36880c4;p=pandora-kernel.git Bluetooth: Fix possible NULL pointer dereference Checking conn->pending_sec_level if there is no connection leads to potential null pointer dereference. Don't process pin_code_request_event at all if no connection exists. Signed-off-by: Waldemar Rymarkiewicz Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed