Re: [PATCH] ieee1275/ofnet: Fix grub_malloc() removed after added safe math functions

2025-03-20 Thread Daniel Kiper
On Wed, Mar 19, 2025 at 05:39:41PM +0100, Nicolas Frayer via Grub-devel wrote: > grub_malloc() has been inadvertently removed from the ieee1275/ofnet > code after it has been modified to use safe match function. > > Fixes: 4beeff8a (net: Use safe math macros to prevent overflows) > > Signed-off-by:

Re: [PATCH] fs/ntfs: Check at->attr_cur after calling next_attribute()

2025-03-20 Thread Daniel Kiper
On Tue, Mar 18, 2025 at 09:22:46AM -0500, Andrew Hamilton wrote: > Unless someone else is already working on this, I started working on a patch > for this as well as fixes to correct the NTFS Grub test failures - I’ll > hopefully submit something for review in a few days. > > Once it is available -

Re: [PATCH v2] fs/ntfs: Check at->attr_cur after calling next_attribute()

2025-03-20 Thread Andrew Hamilton
Good feedback, I will update as suggested and send out a v3 shortly! Thanks! Andrew On Thu, Mar 20, 2025 at 6:04 PM Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > > > Le ven. 21 mars 2025, 01:54, Andrew Hamilton a > écrit : > >> A regression was introduced recently as a part of the

[PATCH v2] fs/ntfs: Check at->attr_cur after calling next_attribute()

2025-03-20 Thread Andrew Hamilton
A regression was introduced recently as a part of the series of filesystem related patches to address some CVEs found in GRUB. This issue may cause either an infinite loop at startup when accessing certain valid NTFS file systems, or may cause a crash due to a NULL pointer deference on systems whe

Re: [PATCH v2] fs/ntfs: Check at->attr_cur after calling next_attribute()

2025-03-20 Thread Vladimir 'phcoder' Serbinenko
Le ven. 21 mars 2025, 01:54, Andrew Hamilton a écrit : > A regression was introduced recently as a part of the series of > filesystem related patches to address some CVEs found in GRUB. > > This issue may cause either an infinite loop at startup when > accessing certain valid NTFS file systems, o

[PATCH] include/grub/i386/linux: Update linux_kernel_params to match upstream

2025-03-20 Thread Patrick Colp via Grub-devel
Update linux_kernel_params to match the latest upstream (v6.13.7) version of boot_params. Refactor most things out into structs, as the Linux kernel does. `edid_info` should be a struct with `unsigned char dummy[128]` and `efi_info` should be a struct as well, starting at 0x1c0. However, for backw