qcacld-3.0: Use of %p in htt_t2h_tx_ppdu_log_print()
Introducing integer overflow checks in htt_t2h_tx_ppdu_log_print() contained use of %p which violates security guidelines. Change %p to %pK. Change-Id: I9e886e9b065ea6902aeedc3d9c25aac76a07d6de CRs-Fixed: 2252217
Šī revīzija ir iekļauta:

revīziju iesūtīja
nshrivas

vecāks
bee83ddc48
revīzija
2de7d6ef8e
@@ -968,7 +968,7 @@ htt_t2h_tx_ppdu_log_print(struct ol_fw_tx_dbg_ppdu_msg_hdr *hdr,
|
||||
p8 = (uint8_t *) record;
|
||||
calculated_p8 = p8 + sizeof(struct ol_fw_tx_dbg_ppdu_base);
|
||||
if (calculated_p8 < p8) {
|
||||
qdf_err("Overflow due to record %p", p8);
|
||||
qdf_err("Overflow due to record %pK", p8);
|
||||
continue;
|
||||
}
|
||||
p8 = calculated_p8;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user