commit | a62528d98c39b5d51db784554474de5852445789 | [log] [tgz] |
---|---|---|
author | Richard Genoud <richard.genoud@posteo.net> | Tue Nov 03 12:11:07 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:45:49 2020 -0500 |
tree | df9c9734c43f13e3619370f3f606b31cf75ec7de | |
parent | 2762f653a23d94d4037c755ca67e53fdad823607 [diff] [blame] |
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>
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index 1714306..72181f3 100644 --- a/fs/squashfs/sqfs.c +++ b/fs/squashfs/sqfs.c
@@ -731,6 +731,7 @@ src_table, src_len); if (ret) { free(*inode_table); + *inode_table = NULL; goto free_itb; }