Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TpmFailureMode: Add missing request size checks #105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Dec 5, 2023

  1. TpmFailureMode: Add missing request size checks

    This is harmless, but it is inconsistent with the non-failure case.
    DemiMarie committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    127606d View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. TpmFailureMode: treat request shorter than 10 bytes as empty

    This doesn't change the observable behavior of the TPM.  However, when
    combined with the previous commit ("TpmFailureMode: Add missing request
    size checks"), it guarantees that the unmarshalling functions in
    TpmFail.c always succeed and could be changed to return void, which
    would simplify the code.
    DemiMarie committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    0257820 View commit details
    Browse the repository at this point in the history