| commit | c8f5e641f19af02cb1e98ced8e5da58ac6e99f66 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Tue Apr 30 17:20:32 2024 +0200 |
| committer | Jan Schär <jan@monogon.tech> | Thu May 02 09:00:34 2024 +0000 |
| tree | 973d1c4b443c88a4827aeebce344ed593664cd37 | |
| parent | cceb6a36f1084fb3ced6332be39a6a3256514ebb [diff] |
m/p/tpm/e/internal: fix validation logic error The previous logic was wrong: (et < 0x80000000 && et > 0x800000FF) always evaluates to false. The overall condition evaluates to true for values in the range [0x80000000, 0x800000FF] and thus incorrectly rejects them as invalid. Now, an error is only returned if the value is not in either of the two valid ranges. Change-Id: I30ac473cca323e4f7bb0ca2137fcb0eee18a806a Reviewed-on: https://review.monogon.dev/c/monogon/+/3069 Reviewed-by: Lorenz Brun <lorenz@monogon.tech> Tested-by: Jenkins CI
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix: #monogon-os-community:matrix.org.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.