Project

General

Profile

Actions

Bug #3237

closed

msdosfs: can't properly read files longer than couple of kilobytes

Added by piecuch about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Other
Target version:
Start date:
05/03/2020
Due date:
% Done:

0%

Estimated time:

Description

Reading a file from msdosfs reports valid data within the first couple of kilobytes, everything after that is only NULL bytes (or it might be some data from a different sector which is currently zeroed).

I have tested this on the following configurations:
write on Linux - corrupted data on dfly, correct data on Linux
write on dfly - corrupted data on dfly, correct data on Linux

I am running latest version from master.

I will see if this bug can be reproduced on freebsd and try to fix that/port stuff from freebsd. Hints welcome.


Files

first-ununiq.svg (1.01 MB) first-ununiq.svg BytesPerSec=512 SecPerClust=2 piecuch, 06/03/2020 02:38 PM
second-ununiq.svg (1.03 MB) second-ununiq.svg BytesPerSec=512 SecPerClust=4 piecuch, 06/03/2020 02:38 PM
third-ununiq.svg (1010 KB) third-ununiq.svg BytesPerSec=2048 SecPerClust=1 piecuch, 06/03/2020 02:38 PM
0001-msdosfs-fix-3237-where-reading-the-last-sector-of-a-.patch (1.49 KB) 0001-msdosfs-fix-3237-where-reading-the-last-sector-of-a-.patch piecuch, 01/27/2021 03:56 PM
Actions

Also available in: Atom PDF