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

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