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
This commit is contained in:

committed by
snandini

orang tua
2d237dde74
melakukan
dfdbf5f846
@@ -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);
|
||||
|
Reference in New Issue
Block a user