Skip to content
Snippets Groups Projects
Commit ee519781 authored by Divya Ponnusamy's avatar Divya Ponnusamy Committed by Pat Tjin
Browse files

staging: android: 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: 30148243
Change-Id: Ib1adf14e9620ad7b1bd3e962001c852610210d46
Signed-off-by: default avatarDivya Ponnusamy <pdivya@codeaurora.org>
parent 2bb100e0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment