[syslinux] [PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir

H. Peter Anvin hpa at zytor.com
Mon Jun 2 13:54:48 PDT 2014


On 06/02/2014 10:28 AM, Andy Alex wrote:
> file->offset is used to store position in index root between 
> ntfs_readdir calls.
> Previously, pointer to buffer was stored in this field. However this 
> buffer is reallocated and read each ntfs_readdir call so the pointer may 
> become incorrect.
> Now offset in index root rather than pointer is stored in this field.
> 
> Signed-off-by: Andy Alex <andy at r-tt.com>

I applied this patch manually, and it seems to work.  Thank you!

	-hpa



More information about the Syslinux mailing list