Infinite loop reading NTFS indexes if disk exhibits a certain kind of corruption
Project: | JNode FS |
Component: | Code |
Category: | bug report |
Priority: | critical |
Assigned: | Daniel Noll |
Status: | fixed |
Jump to:
Description
I found a situation where an IndexEntryIterator's offset will not be incremented each time next() is called, if the size of an entry is zero (presumably due to corruption.)
Attached patch makes this condition fail faster with an ISE.
Attachment | Size |
---|---|
index-infinite-loop-dodge.patch | 1.1 KB |
- Login to post comments
#1
Hi Daniel,
I've applied the patch.
Thank You,
Levente
#2
Levente commited the patch, fixed.