Re: PATCH to access old-style FAT fs

From: OGAWA Hirofumi
Date: Thu Jan 29 2004 - 22:43:32 EST


Frodo Looijaard <frodol@xxxxxx> writes:

> > The above should "goto EODir;". Likewise, another "contiure" of
> > fat_search_long().
>
> I am not convinced that the goto is always safe, and I am pretty sure
> that it works now (though not as efficient as possible, perhaps), so I
> have left that in place for now.

But, if there is directory entries after 0, you must not allow access
to those entries. Because those invalid entries may have reference to
the valid data block.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/