Dear Kevin, dear Gerd,

Am 06.03.20 um 18:01 schrieb Stefan Berger:
On 3/6/20 8:33 AM, Kevin O'Connor wrote:
On Wed, Mar 04, 2020 at 02:51:27PM +0100, Paul Menzel wrote:
Date: Tue, 3 Mar 2020 16:24:46 +0100

GCC 10 gives the warnings below:

     In file included from out/ccode32flat.o.tmp.c:54:
     ./src/tcgbios.c: In function 'tpm20_write_EfiSpecIdEventStruct':
     ./src/tcgbios.c:290:30: warning: array subscript '(<unknown>) + 4294967295' is outside the bounds of an interior zero-length array 'struct TCG_EfiSpecIdEventAlgorithmSize[0]' [-Wzero-length-bounds]        290 |         event.hdr.digestSizes[count].algorithmId = be16_to_cpu(sel->hashAlg);
           |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Thanks.  It looks fine to me.  Stefan - do you have any comments on this?

Looks good to me, too.

Could you please apply this commit to the master branch?


Kind regards,

Paul
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to