[PATCH 1/1] fs/squashfs: fix sqfs_read_sblk()

Tom Rini trini at konsulko.com
Tue Jun 7 18:46:19 CEST 2022


On Tue, May 10, 2022 at 09:53:25PM +0200, Heinrich Schuchardt wrote:

> Setting sblk = NULL has no effect on the caller.
> We want to set *sblk = NULL if an error occurrs to avoid usage after free.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Applied to u-boot/next, 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/20220607/fce2a189/attachment.sig>


More information about the U-Boot mailing list