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

Commit 127a13d7 authored by Xin Li's avatar Xin Li Committed by Gerrit Code Review
Browse files

Merge "Fix OOB of L2CAP_CMD_CREDIT_BASED_CONN_RES"

parents 7874c08a adb5c32f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -628,7 +628,7 @@ void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) {
      break;
    }
    case L2CAP_CMD_CREDIT_BASED_CONN_RES:
      if (p + 2 > p_pkt_end) {
      if (p + 8 > p_pkt_end) {
        LOG(ERROR) << "invalid L2CAP_CMD_CREDIT_BASED_CONN_RES len";
        return;
      }