| commit | 13b83f704367d9dd32359ff29b51b90cfbc4b361 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Thu Apr 11 23:10:16 2024 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Tue Apr 23 12:07:38 2024 +0000 |
| tree | 9524284335194acc67f88368821a044e10e60c1f | |
| parent | ee8c81bebb610af692db594dfbb848c506a5fd6a [diff] |
metropolis/node/core: fix invalid write in console setup When configuring the console writers, we are iterating over a slice of console structs, this is fine by itself, but we are also storing a reference to the logtree reader. Since we are iterating over a struct value and aren't using a pointer, this write won't persist into the underlying slice and we cannot close the reader anymore. By using a pointer to a struct instead of the raw value the issue is fixed. Change-Id: Iaf753345cd275a03aecf9748b344c60eefcf9d69 Reviewed-on: https://review.monogon.dev/c/monogon/+/2973 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
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.