NTFS: Bug in sparse file handling
Project: | JNode Core |
Component: | Code |
Category: | bug report |
Priority: | normal |
Assigned: | Unassigned |
Status: | closed |
Jump to:
Description
I found a bug in my sparse file handling code. It's a pretty obvious bug but the impact is nonexistent if you always pass uninitialised byte arrays into the read method (hence why I didn't notice it earlier.)
However if you happen to reuse a byte array for a buffer, this can result in some previous data being left the buffer where it should have been zeroed out.
Attachment | Size |
---|---|
issues_69 | 624 bytes |
- Login to post comments
#1
Committed.
#1
#2