disk/mdraid1x_linux.c:181:15: warning: array subscript is outside array bounds of ‘grub_uint16_t[0]’ {aka ‘short unsigned int[0]’} [-Warray-bounds]

2020-03-20 Thread Paul Menzel
Dear GRUB folks, Using Debian Sid/unstable with gcc (Debian 10-20200312-2) 10.0.1 20200312 (experimental) [master revision c56871dd15a:7ba6e7f0f21:daf2852b883762d921361462dad1f99320faca2a] building GRUB fails with the error below due to treating warnings as errors. gcc -DHAVE_CONFIG_H

Re: disk/mdraid1x_linux.c:181:15: warning: array subscript ...

2020-03-20 Thread Thomas Schmitt
Hi, Paul Menzel wrote: > 181 | (char *) &sb.dev_roles[grub_le_to_cpu32 (sb.dev_number)] >98 | grub_uint16_t dev_roles[]; /* Role in array, or 0x for a > 127 | struct grub_raid_super_1x sb; > [...] > Normally, it should be fixed by using `grub_uint16_t[]` instead of > `grub

Re: are posix-shell-compliant continuation lines valid/supported, or not, in /etc/default/grub ?

2020-03-20 Thread PGNet Dev
On 3/19/20 8:17 PM, PGNet Dev wrote: > On 3/19/20 8:04 PM, Eli Schwartz wrote: >> On 3/19/20 10:02 PM, Dimitri John Ledkov wrote: >>> I hope you do understand that it >>> is intended for all of the Ubuntu installer & upgrade integrations to keep >>> valid configs compatible. For anyone similarly i

Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-20 Thread Eric Snowberg
> On Mar 19, 2020, at 10:37 AM, Stefan Berger wrote: > > On 3/18/20 6:17 PM, Simon Hardy wrote: I was wondering whether it would not be possible to load the raw file into memory, pass it to the firmware for hashing (and logging) via the verifier, and if we do not trust that the fi