]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: sqfs_size: fix dangling pointer dirs->entry
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:09 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit508a9dc7f694df11c7de7460f888f508e40a2046
tree4ae83298124fa6a16cf7e457b795894fbf74ca8c
parentdc3312c43c82ff9335b2bf4ee4f72365e824adfd
fs/squashfs: sqfs_size: fix dangling pointer dirs->entry

dirs->entry shouldn't be left dangling as it could be freed twice.

Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
fs/squashfs/sqfs.c