On Sun, Dec 25, 2022 at 11:05:24AM +0100, David Oberhollenzer wrote: > For a squashfs filesystem, the fragment table is followed by > the following tables: NFS export table, ID table, xattr table. > > The export and xattr tables are both completely optional, but > the ID table is mandatory. The Linux implementation refuses to > mount the image if the ID table is missing. Tables that are no > present have their location in the super block set > to 0xFFFFFFFFFFFFFFFF. > > The u-boot implementation previously assumed that it can always > rely on the export table location as an upper bound for the fragment > table, trying (and failing) to read past filesystem bounds if it > is not present. > > This patch changes the driver to use the ID table instead and only > use the export table location if it lies between the two. > > Signed-off-by: David Oberhollenzer <[email protected]> > Reviewed-by: Miquel Raynal <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature

