mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 17:24:14 -04:00
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:
parent
2d237dde74
commit
dfdbf5f846
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue