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

Richard Genoud richard.genoud at posteo.net
Fri Nov 20 15:39:29 CET 2020


Le 20/11/2020 à 02:35, Tom Rini a écrit :
> 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.
> 
I'll look into that.

Thanks !



More information about the U-Boot mailing list