From: Marcel Holtmann Date: Wed, 9 May 2007 07:15:40 +0000 (+0200) Subject: [Bluetooth] Fix NULL pointer dereference in HCI line discipline X-Git-Tag: v2.6.22-rc1~34^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ad42033b7d2b3d7928fba9f89d1c7f8a3c9581;p=pandora-kernel.git [Bluetooth] Fix NULL pointer dereference in HCI line discipline Normally a serial Bluetooth device is opened, TIOSETD'ed to N_HCI line discipline, HCIUARTSETPROTO'ed and finally closed. In case the device fails to HCIUARTSETPROTO, closing it produces a NULL pointer dereference. Signed-off-by: Ohad Ben-Cohen Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed