diff options
author | Mohamad Ayyash <mkayyash@google.com> | 2016-05-24 10:28:30 -0700 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2016-10-19 01:09:17 +1100 |
commit | 025b7b8515899ef02d4be760b08d7dd4c96d1b07 (patch) | |
tree | 5ce0dd92efefe24142852aa6a6b1ee5dd6d4191d | |
parent | 782f37cdcc5a65f9efdfa3a583ad11bb6092eda2 (diff) | |
download | kernel_samsung_smdk4412-025b7b8515899ef02d4be760b08d7dd4c96d1b07.zip kernel_samsung_smdk4412-025b7b8515899ef02d4be760b08d7dd4c96d1b07.tar.gz kernel_samsung_smdk4412-025b7b8515899ef02d4be760b08d7dd4c96d1b07.tar.bz2 |
Replace %p with %pK to prevent leaking kernel address
BUG: 27532522
Change-Id: Ic0710a9a8cfc682acd88ecf3bbfeece2d798c4a4
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
-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 c8a53e5..5fa5e46 100644 --- a/net/netfilter/xt_qtaguid.c +++ b/net/netfilter/xt_qtaguid.c @@ -1987,7 +1987,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, |