On Wed, Oct 19, 2022 at 08:23:22PM +1100, Daniel Axtens wrote:
> This is 'belt and braces' with commit 12e20a6a695f ("disk/diskfilter:
> Check calloc() result for NULL"): we end up trying to use too much memory
> in situations like corrupted Linux software raid setups purporting to
> use a huge number of disks. Simply refuse to permit such configurations.
>
> 1024 is a bit arbitrary, yes, and I feel a bit like I'm tempting fate
> here, but I think 1024 disks in an array (that grub has to read to boot!)
> should be enough for anyone.
>
> Signed-off-by: Daniel Axtens <d...@axtens.net>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to