fs/squashfs: sqfs_read_inode_table: fix dangling pointer
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:07 +0000 (12:11 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
commit81f52cfca2dcf2740ccc300ddd429f8f47fd6d15
treed812d1ca05f2af0076f81317193cf3c3ba19e03a
parent9fe34618402fa4ae165d73fa393f9d88f61ce8e1
fs/squashfs: sqfs_read_inode_table: fix dangling pointer

inode_table should not be left dangling as it may be freed in sqfs_opendir

Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
[jh80.chung: cherry picked from mainline commit 4c83d2755776d4dd5e15a930d48db1082fc0d1cc]
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I0d63396f7885f68140e78623df8e06b8b00049ac
fs/squashfs/sqfs.c