[DragonFlyBSD - Bug #3237] msdosfs: can't properly read files longer than couple of kilobytes

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Jan 27 15:56:41 PST 2021


Issue #3237 has been updated by piecuch.

File 0001-msdosfs-fix-3237-where-reading-the-last-sector-of-a-.patch added

here's a patch.

----------------------------------------
Bug #3237: msdosfs: can't properly read files longer than couple of kilobytes
http://bugs.dragonflybsd.org/issues/3237#change-13954

* Author: piecuch
* Status: New
* Priority: Normal
* Assignee: 
* Category: Other
* Target version: master
----------------------------------------
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)
second-ununiq.svg (1.03 MB)
third-ununiq.svg (1010 KB)
0001-msdosfs-fix-3237-where-reading-the-last-sector-of-a-.patch (1.49 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list