summaryrefslogtreecommitdiffhomepage
path: root/src/headers/pe_get_image_special_hdr_addr.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-05-09 22:57:35 +0000
committermidipix <writeonce@midipix.org>2020-05-09 23:04:43 +0000
commit0443ad2b6ed839e8480e250a655001f7d403c9cb (patch)
treebd1dc22202609e3cec311b2a2e6b20aeee73dbcd /src/headers/pe_get_image_special_hdr_addr.c
parent1ca6f15ee9908e1048d7accd4e0ed57d2019d851 (diff)
downloadpemagine-0443ad2b6ed839e8480e250a655001f7d403c9cb.tar.bz2
pemagine-0443ad2b6ed839e8480e250a655001f7d403c9cb.tar.xz
pe_get_device_dos_drive_letter(): open the drive, not the volume.
Opening the drive rather than the volume's top-level directory requires reduced permissions, and so should always be preferred for as long as it is sufficient. This change, however, is also motivated by annoying media-drive driver behavior of popping up a dialog (how awful) window whenever an allegedly interactive application (that is, interactive by its subsystem) attempts to access a directory (or a file) in the drive while it is empty.
Diffstat (limited to 'src/headers/pe_get_image_special_hdr_addr.c')
0 files changed, 0 insertions, 0 deletions