rufus/src/syslinux/libfat
AJIOB b81b440a20
[uefi] fix search for bootloaders in FAT images that have an 'EFI' volume label
* Per https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#Directory_entry it
  is possible to have a FAT directory entry with a 'EFI' volume label alongside with
  a 'EFI' subdirectory.
* If that happens, then the current Syslinux libfat_searchdir() code may treat the
  'EFI' volume label as an empty subdirectory and say that there are no bootloaders,
  even if the 'EFI\Boot\Boot###.efi' binaries really do exist.
* Fix this by filtering out entries with the 'volume label' attribute (0x08).
* For good measure, also filter out entries with the 'device' attribute (0x40), as
  it is technically possible to create a 'EFI' device leading to the same issue.
* Closes #2288.
* Closes #2289.
2023-07-24 23:55:47 +01:00
..
Makefile.am [core] add full extraction support for efi.img 2019-04-04 19:12:48 +01:00
Makefile.in [mingw] use delay loading for DLLs that are subject to side loading 2022-04-12 11:09:59 +01:00
cache.c [core] add full extraction support for efi.img 2019-04-04 19:12:48 +01:00
dumpdir.c [core] add full extraction support for efi.img 2019-04-04 19:12:48 +01:00
fat.h [sl] syslinux support (EXPERIMENTAL) 2012-01-12 02:52:40 +00:00
fatchain.c [misc] fix 32-bit arithmetic overflow operation warnings 2020-02-12 17:23:23 +00:00
libfat.h [core] add full extraction support for efi.img 2019-04-04 19:12:48 +01:00
libfatint.h [misc] use the more univerasal _mm_alloc() instead of _aligned_malloc() 2016-06-10 12:42:43 +01:00
open.c [misc] fix 32-bit arithmetic overflow operation warnings 2020-02-12 17:23:23 +00:00
searchdir.c [uefi] fix search for bootloaders in FAT images that have an 'EFI' volume label 2023-07-24 23:55:47 +01:00
ulint.h [sl] syslinux support (EXPERIMENTAL) 2012-01-12 02:52:40 +00:00