Skip to content
Snippets Groups Projects
Commit 15b6e66b authored by Erwan Mahe's avatar Erwan Mahe Committed by Victor Tasayco Loarte
Browse files

staging: android: Change %p to %pK in debug messages

CVE-2016-6684

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: I7db3b6445453e4f3397f3dd5e33faef49d4541d9
Tracked-On: https://jira01.devtools.intel.com/browse/AW-2264


Signed-off-by: default avatarErwan Mahe <erwan.mahe@intel.com>
Signed-off-by: default avatarDivya Ponnusamy <pdivya@codeaurora.org>
Reviewed-on: https://android.intel.com/545353


Reviewed-by: default avatarDubray, SimonX <simonx.dubray@intel.com>
Reviewed-by: default avatarjenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: default avatarTasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
Reviewed-by: default avatarMaalem, Saadi <saadi.maalem@intel.com>
parent 8ff9bec4
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.
Finish editing this message first!
Please register or to comment