History log of /external/fsck_msdos/boot.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6c29bbe8d58e6fe8755935a04166ecf82ff31f47 08-Feb-2011 Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Detect and handle invalid number of FATs

If the number of FATs field in the boot sector is zero, give
an appropriate error code.

Change-Id: I56545fb322a9d4c94aea8ddbd4879701617100e4
Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
/external/fsck_msdos/boot.c
fe7400ddb5e99a790cd3977f9e5151d8ea929a14 01-Feb-2011 Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Fix division-by-zero when reading partition tables

When fsck_msdos was asked to analyze a device that contained
a partition table in its first sector fsck_msdos was doing a
division-by-zero because of mostly zeroed out fields. This
fix postpones the division until it is necessary, while
other tests already present detect the zeroed out fields and
so fsck_msdos fails in a controlled fashion.

Change-Id: Id2274b140449f4470f95a0215277f2f2de4cb7b0
Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Signed-off-by: christian bejram <christian.bejram@stericsson.com>
/external/fsck_msdos/boot.c
b47b16353f3db228711dded9f7c975b820059ddc 27-Jun-2009 San Mehat <san@google.com> fsck_msdos: Don't bail out when we find a FAT32 bootblock miscompare.
Some factory formatted sdcards seem to have a garbage backup block.

Signed-off-by: San Mehat <san@google.com>
/external/fsck_msdos/boot.c
58d4c6c35633437182289e3d226d156d31d3e801 25-Jun-2009 San Mehat <san@google.com> fsck_msdos: Initial checkin

Signed-off-by: San Mehat <san@google.com>
/external/fsck_msdos/boot.c