From: Frantisek Sumsal Date: Tue, 30 May 2023 08:21:26 +0000 (+0200) Subject: boot: make Event a standard-conforming flexible array X-Git-Tag: v254-rc1~336^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13bb569b751822cbfd58303b2929a081585bca41;p=thirdparty%2Fsystemd.git boot: make Event a standard-conforming flexible array --- diff --git a/src/boot/efi/proto/tcg.h b/src/boot/efi/proto/tcg.h index af6989c8548..d8802ae0e33 100644 --- a/src/boot/efi/proto/tcg.h +++ b/src/boot/efi/proto/tcg.h @@ -54,7 +54,7 @@ typedef struct { uint8_t Digest[20]; } Digest; uint32_t EventSize; - uint8_t Event[0]; + uint8_t Event[]; } _packed_ TCG_PCR_EVENT; typedef struct {