]> git.dujemihanovic.xyz Git - u-boot.git/commit
squashfs: Check sqfs_find_inode() return value
authorRichard Weinberger <richard@nod.at>
Fri, 2 Aug 2024 16:36:46 +0000 (18:36 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 15 Aug 2024 22:14:36 +0000 (16:14 -0600)
commit3fb1df1e57ee26f4b92932de804ef265e5ae0d3b
treea36816c6f559376f5ee1b136f5fa114ea68ced16
parentc8e929e5758999933f9e905049ef2bf3fe6b140d
squashfs: Check sqfs_find_inode() return value

The function can fail and return NULL.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
fs/squashfs/sqfs.c