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

Commit 067d3607 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Fix potential NULL dereference in set_volume

Bug: 76217773
Change-Id: I50188e9c69dbcd42286097cb6fbc1aa715877c80
parent 2acc43ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2550,6 +2550,7 @@ static bt_status_t set_volume(uint8_t volume) {
          "%s: failed to obtain transaction details. status: 0x%02x", __func__,
          tran_status);
      status = BT_STATUS_FAIL;
      continue;
    }

    BTIF_TRACE_DEBUG("%s: msgreq being sent out with label: %d", __func__,