Re: [PATCH v3 1/5] fs/iso9660: Add check to prevent infinite loop

2023-02-02 Thread Daniel Kiper
On Fri, Jan 20, 2023 at 07:39:38PM +, Lidong Chen wrote: > There is no check for the end of block when reading > directory extents. It resulted in read_node() always > read from the same offset in the while loop, thus > caused infinite loop. The fix added a check for the > end of the block and

Re: [v7 PATCH 2/3] efi: Remove arch specific image headers for RISC-V & ARM64

2023-02-02 Thread Daniel Kiper
On Fri, Jan 20, 2023 at 05:17:13PM -0800, Atish Patra wrote: > The arch specific image header details are not very useful as > most of the grub just looks at the PE/COFF spec parameters (PE32 magic > and header offset). > > Remove the arch specific images headers and define a generic > arch headers

Re: [PATCH v3 1/5] fs/iso9660: Add check to prevent infinite loop

2023-02-02 Thread Lidong Chen
> On Feb 2, 2023, at 11:35 AM, Daniel Kiper wrote: > > On Fri, Jan 20, 2023 at 07:39:38PM +, Lidong Chen wrote: >> There is no check for the end of block when reading >> directory extents. It resulted in read_node() always >> read from the same offset in the while loop, thus >> caused infin

[PATCH] grub-core: modify sector by sysfs as disk sector

2023-02-02 Thread Mukesh Kumar Chaurasiya
The disk sector size provided by sysfs file system considers the sector size of 512 irrespective of disk sector size, Thus causing the read by grub to an incorrect offset from what was originally intended. Considering the 512 sector size of sysfs data the actual sector needs to be modified corresp