aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/lzo.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-08 00:35:44 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-08 00:44:54 +0200
commit768d36ec643268fac24f961b2948fecd1d2e7310 (patch)
tree6f0efbc02208195c7555b9e4d8e2c1e66ba811b4 /lib/sqfs/comp/lzo.c
parent194cd03d0e32656c2786ec01e9f22d4a9c6921fc (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/comp/lzo.c')
0 files changed, 0 insertions, 0 deletions