[PATCH 1/1] fs/squashfs: parameter check sqfs_read_metablock()

Tom Rini trini at konsulko.com
Wed Sep 30 14:50:10 CEST 2020


On Wed, Sep 23, 2020 at 09:13:51PM +0200, Heinrich Schuchardt wrote:

> We should check if the incoming parameter file_mapping is not NULL instead
> of checking after adding an offset.
> 
> Reported-by: Coverity CID 307210
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Acked-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20200930/a11ced17/attachment.sig>


More information about the U-Boot mailing list