]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/iso9660: Delay CE hop until end of current SUSP area
authorThomas Schmitt <scdbackup@gmx.net>
Tue, 7 Mar 2023 16:56:50 +0000 (17:56 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 13 Apr 2023 12:45:47 +0000 (14:45 +0200)
commitd6f12ffaf8d0795e17e49b1a9723d3541aa3f277
tree2d6cf9299e6933a6309ef5ab8f35bcd6020a3d05
parent98d0df0351fbff7a4acc64c7594d538889a43e2d
fs/iso9660: Delay CE hop until end of current SUSP area

The SUSP specs demand that the reading of the next SUSP area which is
depicted by a CE entry shall be delayed until reading of the current
SUSP area is completed. Up to now GRUB immediately ends reading of the
current area and loads the new one. So, buffer the parameters of a found
CE entry and perform checks and reading of new data only after the
reader loop has ended.

Signed-off-by: Thomas Schmitt <scdbackup@gmx.net>
Tested-by: Lidong Chen <lidong.chen@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/iso9660.c