commit | b6f98044a6cbeba8234a3d433d715e9ef36880c4 | [log] [tgz] |
---|---|---|
author | Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com> | Fri Sep 23 10:01:30 2011 +0200 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Thu Sep 29 15:23:58 2011 -0300 |
tree | 0e518c0723f132eb05c291e53b631884bdf1596d | |
parent | 67c9e840a098fa62c0b464387160ff8f52a7ef4a [diff] |
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 <waldemar.rymarkiewicz@gmail.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>