[Bluetooth] Fix NULL pointer dereferences of the HCI socket
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 13 Feb 2006 10:40:03 +0000 (11:40 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 13 Feb 2006 10:40:03 +0000 (11:40 +0100)
This patch fixes the two NULL pointer dereferences found by the sfuzz
tool from Ilja van Sprundel. The first one was a call of getsockname()
for an unbound socket and the second was calling accept() while this
operation isn't implemented for the HCI socket interface.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

No differences found