Hi, On Fri, Sep 04, 2015, Chuck Ebbert wrote: > Commit 25ba26539 ("Bluetooth: Fix NULL pointer dereference in > smp_conn_security") added a check for NULL SMP, but it was checked > too early. It is possible for this function to return success even > when that is NULL. Move the check down to just before the variable > gets used. > > Fixes: 25ba26539 ("Bluetooth: Fix NULL pointer dereference in smp_conn_security") > > --- > > NOTE: UNTESTED, no signoff Looks like the exact same fix I just sent myself :) If the fix works (which I think it should) you should of course get the credits since your patch made it to the list a bit before mine. You might want to check the commit message and my other email for a bit deeper analysis of the issue. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html