diff --git a/repos/base-hw/src/lib/muen/sinfo.cc b/repos/base-hw/src/lib/muen/sinfo.cc index 9f78c4cc9..95ad00301 100644 --- a/repos/base-hw/src/lib/muen/sinfo.cc +++ b/repos/base-hw/src/lib/muen/sinfo.cc @@ -19,6 +19,9 @@ #include "musinfo.h" +static_assert(sizeof(subject_info_type) <= Sinfo::SIZE, + "Size of subject info type larger than Sinfo::SIZE."); + /* Log channel information */ static bool log_channel( const struct Genode::Sinfo::Channel_info * const channel,