Home
last modified time | relevance | path

Searched refs:p_msg (Results 1 – 10 of 10) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9584/
Dpoc.cpp35 uint8_t *p_msg = (uint8_t *)malloc(LENGTH); in main() local
36 if (!p_msg) { in main()
41 *p_msg = 0x03; in main()
43 *(p_msg + 1) = 255; in main()
44 nfc_ncif_set_config_status(p_msg, LENGTH); in main()
46 free(p_msg); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9585/
Dpoc.cpp35 uint8_t *p_msg = (uint8_t *)malloc(LENGTH); in main() local
36 if (!p_msg) { in main()
39 memset(p_msg, 0x01, LENGTH); in main()
42 *(p_msg + 5) = 200; in main()
43 nfc_ncif_proc_get_routing(p_msg, LENGTH); in main()
45 free(p_msg); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0925/
Dt4t.cpp153 NFC_HDR* p_msg; in Fuzz_Run() local
159 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
162 vulnPtr = (char*)p_msg; in Fuzz_Run()
166 if (p_msg == nullptr) { in Fuzz_Run()
172 p_msg->len = it->size(); in Fuzz_Run()
173 p_msg->offset = 0; in Fuzz_Run()
175 uint8_t* p = (uint8_t*)(p_msg + 1) + p_msg->offset; in Fuzz_Run()
180 .p_data = p_msg, in Fuzz_Run()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21241/
Dpoc.cpp65 NFC_HDR *p_msg = (NFC_HDR *)v_pmsg.data(); in main() local
67 p_msg->offset = 0; in main()
68 p_msg->len = UINT16_MAX; in main()
70 rw_i93_send_to_upper(p_msg); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2022/
Dpoc.cpp150 NFC_HDR* p_msg = (p_data->data).p_data; in trigger_OOB_via_rw_t3t_act_handle_fmt_rsp() local
151 p_msg->len = T3T_MSG_RSP_COMMON_HDR_LEN; in trigger_OOB_via_rw_t3t_act_handle_fmt_rsp()
153 uint8_t* p_t3t_rsp = (uint8_t*) (p_msg + 1) + (p_msg->offset + 1); in trigger_OOB_via_rw_t3t_act_handle_fmt_rsp()
200 NFC_HDR* p_msg = (p_data->data).p_data; in trigger_OOB_via_rw_t3t_act_handle_sro_rsp() local
201 p_msg->len = T3T_MSG_RSP_COMMON_HDR_LEN; in trigger_OOB_via_rw_t3t_act_handle_sro_rsp()
203 uint8_t* p_t3t_rsp = (uint8_t*) (p_msg + 1) + (p_msg->offset + 1); in trigger_OOB_via_rw_t3t_act_handle_sro_rsp()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2031/
Dpoc.cpp156 NFC_HDR *p_msg = (p_data->data).p_data; in main() local
157 p_msg->offset = 0; in main()
158 p_msg->len = T3T_MSG_RSP_OFFSET_CHECK_DATA + 1; in main()
160 uint8_t *p_t3t_rsp = (uint8_t *)(p_msg + 1) + p_msg->offset; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2015/
Dpoc.cpp156 NFC_HDR *p_msg = p_data1->p_data; in main() local
157 p_msg->offset = 0; in main()
158 p_msg->len = T3T_MSG_RSP_COMMON_HDR_LEN; in main()
159 uint8_t *p = (uint8_t *)(p_msg + 1) + p_msg->offset; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2021/
Dpoc.cpp125 NFC_HDR* p_msg = (p_data->data).p_data;; in main() local
126 p_msg->len = T3T_MSG_RSP_COMMON_HDR_LEN; in main()
128 uint8_t* p_t3t_rsp = (uint8_t*) (p_msg + 1) + (p_msg->offset + 1); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2012/
Dpoc.cpp158 NFC_HDR *p_msg = (p_data->data).p_data; in main() local
159 p_msg->len = T3T_MSG_RSP_COMMON_HDR_LEN; in main()
160 uint8_t *p_t3t_rsp = (uint8_t *) (p_msg + 1) + (p_msg->offset + 1); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2013/
Dpoc.cpp170 NFC_HDR* p_msg = (p_data->data).p_data; in main() local
171 p_msg->len = T3T_MSG_RSP_COMMON_HDR_LEN; in main()
173 uint8_t* p_t3t_rsp = (uint8_t*) (p_msg + 1) + (p_msg->offset + 1); in main()