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

Skip to content
Commit 830cf804 authored by Henri Chataing's avatar Henri Chataing
Browse files

system/log: Add protection against nullptr string parameters

As opposed to printf("%s", nullptr); log::info("{}", nullptr) will
cause a segfault at runtime. This change adds swaps nullptr
string parameters in the code and replaces them with the
"(nullptr)" string.

Bug: 305066880
Test: atest libbluetooth_log_test
Flag: EXEMPT, log change
Change-Id: I9acbcc4dac2c2b12b2ff888805738a088513d45a
parent 7f32aabe
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