Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7f2b952 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

DO NOT MERGE Fix length for L2CAP config type EXT FLOW

Bug: 119870451
Test: POC
Change-Id: I11041dd03caad5569e930ff36b50fc9c2719c57f
parent 896111aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -564,7 +564,7 @@ static void process_l2cap_cmd (tL2C_LCB *p_lcb, UINT8 *p, UINT16 pkt_len)

                case L2CAP_CFG_TYPE_EXT_FLOW:
                    cfg_info.ext_flow_spec_present = TRUE;
                    if (cfg_len != 1 + 2 + 3 * 4) {
                    if (cfg_len != 2 + 2 + 3 * 4) {
                        android_errorWriteLog(0x534e4554, "119870451");
                        return;
                    }