reactos/dll/win32/kernel32/client/file
Timo Kreuzer 094a90ad4e [NTOS:PS] Fix an issue with PROCESS_DEVICEMAP_INFORMATION size on 64 bit builds
The PROCESS_DEVICEMAP_INFORMATION  union has 2 fields, one is a handle, the other one is a structure of 36 bytes (independent of architecture). The handle forces 64 bit alignment on 64 bit builds, making the structure 4 bytes bigger than on 32 bit builds. The site is checked in NtQueryInformationProcess (case ProcessDeviceMap). The expected size on x64 is the size of the Query structure without alignment. autocheck correctly passes the site of the Query union member, while smss passes the full size of PROCESS_DEVICEMAP_INFORMATION. Packing the structure is not an option, since it is defined in public headers without packing. Using the original headers sizeof(PROCESS_DEVICEMAP_INFORMATION) is 0x28, sizeof(PROCESS_DEVICEMAP_INFORMATION::Query) is 0x24.
2018-08-17 22:08:37 +02:00
..
backup.c
cnotify.c
copy.c
create.c [DLLS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
delete.c
deviceio.c
dir.c
disk.c [NTOS:PS] Fix an issue with PROCESS_DEVICEMAP_INFORMATION size on 64 bit builds 2018-08-17 22:08:37 +02:00
fileinfo.c
filemap.c
filename.c
find.c [KERNEL32] Use RtlStringCbCopyNW() to correctly fill the WIN32_FIND_DATA.cFileName and cAlternateFileName members without any overflow and with a terminating NULL character. 2018-07-22 21:32:38 +02:00
hardlink.c
iocompl.c
lfile.c [DLLS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
lock.c
mailslot.c
mntpoint.c
move.c
npipe.c [KERNEL32] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
rw.c
tape.c
volume.c