diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2016-05-24 10:28:30 -0700 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-10-13 19:39:21 +0200 |
commit | f0483fd257785bd7b3c340d6067bf62458274348 (patch) | |
tree | 6433b16b00ec7bf6165c1a5d839eecb0eec08f1e /net | |
parent | 1e5778a88980a142ebfc0b2b95add82798303551 (diff) | |
download | kernel_samsung_espresso10-f0483fd257785bd7b3c340d6067bf62458274348.zip kernel_samsung_espresso10-f0483fd257785bd7b3c340d6067bf62458274348.tar.gz kernel_samsung_espresso10-f0483fd257785bd7b3c340d6067bf62458274348.tar.bz2 |
Replace %p with %pK to prevent leaking kernel address
BUG: 27532522
Change-Id: Ic0710a9a8cfc682acd88ecf3bbfeece2d798c4a4
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/xt_qtaguid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_qtaguid.c b/net/netfilter/xt_qtaguid.c index aa5f091..6cfe790 100644 --- a/net/netfilter/xt_qtaguid.c +++ b/net/netfilter/xt_qtaguid.c @@ -1970,7 +1970,7 @@ static int qtaguid_ctrl_proc_read(char *page, char **num_items_returned, f_count = atomic_long_read( &sock_tag_entry->socket->file->f_count); len = snprintf(outp, char_count, - "sock=%p tag=0x%llx (uid=%u) pid=%u " + "sock=%pK tag=0x%llx (uid=%u) pid=%u " "f_count=%lu\n", sock_tag_entry->sk, sock_tag_entry->tag, uid, |