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

Skip to content
Commit c352a6f6 authored by Min Chong's avatar Min Chong Committed by Zvikomborero Vincent Zvikaramba
Browse files

usb: gadget: f_mbim: Change %p to %pK in debug messages



The format specifier %p can leak kernel addresses
while not valuing the kptr_restrict system settings.
Use %pK instead of %p, which also evaluates whether
kptr_restrict is set.

Bug: 31802656
Change-Id: I74e83192e0379586469edba3c7579a1cd75cf3c0
Signed-off-by: default avatarMin Chong <mchong@google.com>
parent 934c8514
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