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

Commit e0c2d848 authored by Min Chong's avatar Min Chong Committed by Gerrit - the friendly Code Review server
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>
Git-repo: https://android.googlesource.com/kernel/msm.git


Git-commit: c7659864af1ab8da6864c09eccde5ce3a1325194
Signed-off-by: default avatarDennis Cagle <d-cagle@codeaurora.org>
parent 32807af6
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