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

Commit 0512983f authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Merge "Increase size of written bytes for snprintf for AT+BIND"

am: 73333583

Change-Id: I648cdddbc18cd94c0b2568082834b1142b666463
parents 3f583f18 73333583
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -708,7 +708,7 @@ static void bta_ag_bind_response(tBTA_AG_SCB* p_scb, uint8_t arg_type) {
      if (bta_ag_local_hf_ind_cfg[i + 1].is_supported) {
        /* Add ',' from second indicator */
        if (index > 1) buffer[index++] = ',';
        snprintf(&buffer[index++], 1, "%d",
        snprintf(&buffer[index++], 2, "%d",
                 bta_ag_local_hf_ind_cfg[i + 1].ind_id);
      }
    }