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

Commit a22bc745 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix Keymaster HAL crash." into oc-dev

parents ed84acb9 fa67c8fc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -549,6 +549,7 @@ Return<void> KeymasterDevice::attestKey(const hidl_vec<uint8_t>& keyToAttest,
    if (!foundAttestationApplicationId) {
        _hidl_cb(ErrorCode::ATTESTATION_APPLICATION_ID_MISSING,
                 resultCertChain);
        return Void();
    }

    keymaster_cert_chain_t cert_chain{nullptr, 0};