fs/squashfs: sqfs_opendir: fix some memory leaks and dangling pointers
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:00 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commitf268768d43bbf11c7107597abef57c6b86b6b229
treedecd6325b74ce79ad9046022ea59bab84c2d7cda
parent1b1e0c019588afc64a639b89fd0b6cd12534bce4
fs/squashfs: sqfs_opendir: fix some memory leaks and dangling pointers

When trying to load an non-existing file, the cpu hangs!

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