[PATCH v2 22/28] fs/squashfs: sqfs_close/sqfs_read_sblk: set ctxt.sblk to NULL after free

Tom Rini trini at konsulko.com
Fri Nov 20 02:35:30 CET 2020


On Tue, Nov 03, 2020 at 12:11:20PM +0100, Richard Genoud wrote:

> This will prevent a double free error if sqfs_close() is called twice.
> 
> Signed-off-by: Richard Genoud <richard.genoud at posteo.net>

This change causes the test.py squashfs tests to fail.  I am unsure if
the problem is with the tests or this exposing further problems in the
code.

-- 
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/20201119/2958faf6/attachment.sig>


More information about the U-Boot mailing list