diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-08 00:35:44 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-10-08 00:44:54 +0200 |
commit | 768d36ec643268fac24f961b2948fecd1d2e7310 (patch) | |
tree | 6f0efbc02208195c7555b9e4d8e2c1e66ba811b4 /lib/sqfs/read_tree.c | |
parent | 194cd03d0e32656c2786ec01e9f22d4a9c6921fc (diff) |
Fix recovery of directory index in inode reader
Apparently mksquashfs writes an actual usage count (1 = 1 entry,
2 = 2 entries; i.e. NOT off by one).
Also, if it does happen to be garbage, guard against an overflow.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/read_tree.c')
0 files changed, 0 insertions, 0 deletions