Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bafbd718 authored by Brian Delwiche's avatar Brian Delwiche
Browse files

Fix crash in l2cap-fuzzer

l2cap-fuzzer initializes itself via L2CA_RegisterWithSecurity, which calls through into BTM_SetSecurityLevel.  For the client interface defined for these fuzzers, BTM_SetSecurityLevel is nullptr, which leads to a crash on startup.

Add a mock for this in the default client interface.

Bug: 326853665
Test: m libbluetooth
Test: l2cap-fuzzer
Flag: EXEMPT test_only
Change-Id: I282db97b683efb1ba2596d4fad0070215f4cb62c
parent 9d0a929c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment