Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3de72c10 authored by Mohamad Ayyash's avatar Mohamad Ayyash Committed by Gerrit - the friendly Code Review server
Browse files

Replace %p with %pK to prevent leaking kernel address



BUG: 27532522
Signed-off-by: default avatarMohamad Ayyash <mkayyash@google.com>
Signed-off-by: default avatarDennis Cagle <d-cagle@codeaurora.org>
Git-commit: 066b75616cf93e7c3caa323a372bc22058791bd0
Git-repo: https://android.googlesource.com/kernel/msm


(cherry picked from commit 1ff4ea16e6df22383a7386d3937019deb63c5fdc)
Change-Id: I493d3b27cfeaaf63e3cf584c7048514d4d38905d
Signed-off-by: default avatarRavi Kumar Siddojigari <rsiddoji@codeaurora.org>
parent 03ffbf10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1934,7 +1934,7 @@ static int qtaguid_ctrl_proc_show(struct seq_file *m, void *v)
			);
		f_count = atomic_long_read(
			&sock_tag_entry->socket->file->f_count);
		seq_printf(m, "sock=%p tag=0x%llx (uid=%u) pid=%u "
		seq_printf(m, "sock=%pK tag=0x%llx (uid=%u) pid=%u "
			   "f_count=%lu\n",
			   sock_tag_entry->sk,
			   sock_tag_entry->tag, uid,