• Ben Avison's avatar
    Fix divide-by-zero bug · 82a0cd80
    Ben Avison authored
      Somewhere in the process of adding FAT16/FAT32 support, a bug was
      was introduced where an attempt was made to calculate the number of
      sectors in a cluster before the cluster size (in bytes) had been
      determined. This affected invalid (e.g. blank) image files, as well as
      old 160K/320K DOS floppies that aren't supposed to contain a valid boot
      Issue raised by the Raspberry Pi NOOBS team when they failed to set up
      the DOS partition where FileCore was expecting it to be.
    Version 1.02. Tagged as 'DOSFS-1_02'
VersionNum 812 Bytes