commit | 42bf4eaf8f61ab342d6d94ee715ba95341dea929 | [log] [tgz] |
---|---|---|
author | Joel Stanley <joel@jms.id.au> | Tue Jun 13 22:58:10 2017 +0930 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Aug 06 13:01:00 2017 +0200 |
tree | 9350404e762228a185c61b38b3223266c1a850a5 | |
parent | b98be2d2487dd1855c00725899dd80ad5e84d9f6 [diff] |
usb: diag: 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: 31495348 Change-Id: I7392c2b444794234ebd685735566e7b4fa09c409 Signed-off-by: Min Chong <mchong@google.com> Fixes: CVE-2016-8403 Signed-off-by: Joel Stanley <joel@jms.id.au>