system/bt
Revision | 621fc0156db2e10fb6bc1c8a1b9d3fb8e8295f2a (tree) |
---|---|
Zeit | 2019-03-09 03:50:54 |
Autor | Hansong Zhang <hsz@goog...> |
Commiter | JP Sugarbroad |
DO NOT MERGE Fix length for L2CAP config type EXT FLOW
Bug: 119870451
Test: POC
Change-Id: I11041dd03caad5569e930ff36b50fc9c2719c57f
(cherry picked from commit 1fa0f29dbe4f833049697b551f237bf0cd234ddc)
@@ -566,7 +566,7 @@ static void process_l2cap_cmd (tL2C_LCB *p_lcb, UINT8 *p, UINT16 pkt_len) | ||
566 | 566 | |
567 | 567 | case L2CAP_CFG_TYPE_EXT_FLOW: |
568 | 568 | cfg_info.ext_flow_spec_present = TRUE; |
569 | - if (cfg_len != 1 + 2 + 3 * 4) { | |
569 | + if (cfg_len != 2 + 2 + 3 * 4) { | |
570 | 570 | android_errorWriteLog(0x534e4554, "119870451"); |
571 | 571 | return; |
572 | 572 | } |