On Thu, Sep 28, 2023 at 10:33:44PM +0000, Lidong Chen wrote: > After parsing of the current entry, the entry pointer is advanced > to the next entry at the end of the 'for' loop. In case where the > last entry is at the end of the data boundary, the advanced entry > pointer can point off the data boundary. The subsequent boundary > check for the advanced entry pointer can cause a failure. > > The fix is to include the boundary check into the 'for' loop > condition. > > Signed-off-by: Lidong Chen <lidong.c...@oracle.com>
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