~x3lectric/ntfs-3g/trunk

Viewing all changes in revision 1195.

  • Committer: Jean-Pierre André
  • Date: 2015-04-17 09:31:47 UTC
  • Revision ID: git-v1:5741f54529382b5a14d6ca356c05693ae5f9556e
Zeroed uninitialized bytes before writing compressed data

Compressed records may be written as full clusters even though cluster
tails are meaningless. This is to avoid the lower levels doing a read-
modify-write cycle. Be sure to zero the meaningless bytes to avoid
leaking information.

Contributed by Eric Biggers

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: