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