summaryrefslogtreecommitdiff
path: root/lib/tar/cleanup.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-07 11:26:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-07 14:30:29 +0200
commit85d88bcdc74d6a092a2932ff6b80ac455556f0ce (patch)
tree23a774e6a59a5074d9b4154c510b1119108778c9 /lib/tar/cleanup.c
parentb3efb637c8e1dc5cbb557e90988b5537cc6aff61 (diff)
libsquashfs: fix block alignment if requested
1) If the block alignment flag is set, the padding bytes must be inserted _before_ recording the start position, otherwise the resulting image is not readable. 2) Also perform alignment if the flag is set on a fragment block. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/cleanup.c')
0 files changed, 0 insertions, 0 deletions