From dfdbf5f8465b6bca9ade4eb8ae07171fd2e9fb93 Mon Sep 17 00:00:00 2001 From: Orhan K AKYILDIZ Date: Mon, 29 Jan 2018 16:43:05 -0800 Subject: [PATCH] qcacmn: Fix security concern with %p %p is considered a security hole. Fix an instance of such a hole introduced recently. Change-Id: Iaaa8d94de3077f987605058d417b472966ad9931 CRs-Fixed: 2180521 --- utils/pktlog/pktlog_ac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/pktlog/pktlog_ac.c b/utils/pktlog/pktlog_ac.c index 688796b0ce..137743a464 100644 --- a/utils/pktlog/pktlog_ac.c +++ b/utils/pktlog/pktlog_ac.c @@ -935,7 +935,7 @@ static void pktlog_t2h_msg_handler(void *context, HTC_PACKET *pkt) /* check for sanity of the packet, have seen corrupted pkts */ if (pktlog_nbuf_check_sanity(pktlog_t2h_msg)) { - qdf_print("%s: packet 0x%p corrupted? Leaking...", + qdf_print("%s: packet 0x%pK corrupted? Leaking...", __func__, pktlog_t2h_msg); /* do not free; may crash! */ QDF_ASSERT(0);