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

Commit be336bbc authored by Michał's avatar Michał Committed by Łukasz Rymanowski
Browse files

Add CSIS client nullptr checks

Bug: 261489666
Change-Id: I26e2052550134a6bdb10c315d3cc6535505545c4
parent 6a9c1071
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -643,6 +643,10 @@ class CsisClientImpl : public CsisClient {

        // Set grouping and SIRK
        auto csis_group = AssignCsisGroup(addr, gid, true, Uuid::kEmpty);
        if (csis_group == nullptr) {
          continue;
        }

        csis_group->SetDesiredSize(size);
        csis_group->SetSirk(sirk);