diff options
Diffstat (limited to 'extras/volume_id/lib/fat.c')
-rw-r--r-- | extras/volume_id/lib/fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/fat.c b/extras/volume_id/lib/fat.c index 92f316a275..9a2e4784d8 100644 --- a/extras/volume_id/lib/fat.c +++ b/extras/volume_id/lib/fat.c @@ -349,7 +349,7 @@ fat32: /* set next cluster */ next = le32_to_cpu(*((uint32_t *) buf)) & 0x0fffffff; - if (next == 0) + if (next < 2 || next >= 0x0ffffff0) break; } if (maxloop == 0) |