ntfs: handle offsets when walking through attribute list's entries
commit77f467ca6a200e64a13c23bf38e7513b80b811de
authorPaulo Alcantara <pcacjr@gmail.com>
Thu, 19 Jan 2012 00:18:25 +0000 (18 21:18 -0300)
committerPaulo Alcantara <pcacjr@gmail.com>
Sat, 11 Feb 2012 19:06:07 +0000 (11 16:06 -0300)
treecbeb353733a6c0d49f0302a03211bbe4018fbfde
parent2716df8069f8df9cb9bbae2682fe089fadd8253f
ntfs: handle offsets when walking through attribute list's entries

Instead of either hanging out or printing a fatal message on the screen
when not finding attributes from attribute list's entries, handle
offsets that will determine if we reached end of a attribute list.

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
core/fs/ntfs/ntfs.c
core/fs/ntfs/ntfs.h