From: Tom Rini Date: Thu, 19 Nov 2020 20:36:09 -0500 Subject: [PATCH] fs/squashfs: Fix index off by 1 for inode SQFS_LDIR_TYPE In-Reply-To: <1604065318.29320.6.camel@nedap.com> References: <1604065318.29320.6.camel@nedap.com> Message-ID: <20201120013609.GK32272@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 30, 2020 at 01:41:58PM +0000, Gerard Koskamp wrote: > I've created a squashfs file system with Yocto (it use squashfs-tools) > and u-boot command sqfsls give the error:'Error while searching inode: > unknown type.' > After some digging in the code I found that the index is off by 1. > This patch fix this issue and I can successful use the sqfsls command. > After search for the squashfs format I found a link talk about a > similar issue but this time in the documentation. The link is: > https://github.com/AgentD/squashfs-tools-ng/commit/e6588526838caece9529 > > Signed-off-by: Gerard Koskamp > Tested-by: Joao Marcos Costa Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: