diff options
author | Jan Kara <jack@suse.cz> | 2022-12-08 15:03:30 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-12-09 14:37:26 +0300 |
commit | 1f3868f06855c97a4954c99b36f3fc9eb8f60326 (patch) | |
tree | d0bf1373ee6b1fa547219b2f5a066b34d0564ea0 /MAINTAINERS | |
parent | 16d0556568148bdcaa45d077cac9f8f7077cf70a (diff) | |
download | linux-1f3868f06855c97a4954c99b36f3fc9eb8f60326.tar.xz |
udf: Fix extending file within last block
When extending file within last block it can happen that the extent is
already rounded to the blocksize and thus contains the offset we want to
grow up to. In such case we would mistakenly expand the last extent and
make it one block longer than it should be, exposing unallocated block
in a file and causing data corruption. Fix the problem by properly
detecting this case and bailing out.
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions