Loading system/stack/bnep/bnep_main.c +6 −0 Original line number Diff line number Diff line Loading @@ -486,6 +486,12 @@ static void bnep_data_ind (UINT16 l2cap_cid, BT_HDR *p_buf) type = *p++; extension_present = type >> 7; type &= 0x7f; if (type >= sizeof(bnep_frame_hdr_sizes) / sizeof(bnep_frame_hdr_sizes[0])) { BNEP_TRACE_EVENT("BNEP - rcvd frame, bad type: 0x%02x", type); android_errorWriteLog(0x534e4554, "68818034"); GKI_freebuf (p_buf); return; } if ((rem_len <= bnep_frame_hdr_sizes[type]) || (rem_len > BNEP_MTU_SIZE)) { BNEP_TRACE_EVENT ("BNEP - rcvd frame, bad len: %d type: 0x%02x", p_buf->len, type); Loading Loading
system/stack/bnep/bnep_main.c +6 −0 Original line number Diff line number Diff line Loading @@ -486,6 +486,12 @@ static void bnep_data_ind (UINT16 l2cap_cid, BT_HDR *p_buf) type = *p++; extension_present = type >> 7; type &= 0x7f; if (type >= sizeof(bnep_frame_hdr_sizes) / sizeof(bnep_frame_hdr_sizes[0])) { BNEP_TRACE_EVENT("BNEP - rcvd frame, bad type: 0x%02x", type); android_errorWriteLog(0x534e4554, "68818034"); GKI_freebuf (p_buf); return; } if ((rem_len <= bnep_frame_hdr_sizes[type]) || (rem_len > BNEP_MTU_SIZE)) { BNEP_TRACE_EVENT ("BNEP - rcvd frame, bad len: %d type: 0x%02x", p_buf->len, type); Loading