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

Commit 2195d59f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix invalid access on nullptr" into main am: af7df717

parents 35b81e0b af7df717
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -824,7 +824,7 @@ ErrMsgOr<bytevec> validateCertChain(const cppbor::Array& chain) {
        }
        if (i == chain.size() - 1) {
            auto key = getRawPublicKey(pubKey);
            if (!key) key.moveMessage();
            if (!key) return key.moveMessage();
            rawPubKey = key.moveValue();
        }
    }