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

Skip to content
Commit 81ebc7e2 authored by Min Chong's avatar Min Chong Committed by Dennis Cagle
Browse files

netfilter: 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: 31796940
Change-Id: Ia2946d6b493126d68281f97778faf578247f088e
Signed-off-by: default avatarMin Chong <mchong@google.com>
[dcagle@codeaurora.org: Resolve trivial merge conflicts]
Git-repo: https://android.googlesource.com/kernel/msm


Git-commit: 89220e920f99b7d87c086d6ea250c9f492712c3b
Signed-off-by: default avatarDennis Cagle <dcagle@codeaurora.org>
parent 2f89b761
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