From: Tom Rini Date: Thu, 25 Feb 2021 08:24:48 -0500 Subject: [PATCH 1/1] fs/squashfs: NULL dereference in sqfs_closedir() In-Reply-To: <20210201022848.73381-1-xypron.glpk@gmx.de> References: <20210201022848.73381-1-xypron.glpk@gmx.de> Message-ID: <20210225132448.GR10169@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 Mon, Feb 01, 2021 at 03:28:48AM +0100, Heinrich Schuchardt wrote: > sqfs_opendir() called in sqfs_size(), sqfs_read(), sqfs_exists() may fail > leading to sqfs_closedir(NULL) being called. Do not dereference NULL. > > Signed-off-by: Heinrich Schuchardt 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: