reactos/ntoskrnl/io/iomgr
Hermès Bélusca-Maïto fefb982d64
[NTOS] Don't use TAG_IO_NAME when calling ExFreePoolWithTag() for freeing FileObject->FileName.Buffer .
This may look strange, since this buffer is originally allocated using
the TAG_IO_NAME tag. However, it happens that file-system drivers are
allowed to re-allocate this buffer: this is what the MS' open-sourced
CDFS driver does, see e.g. CdCommonCreate() and CdNormalizeFileNames()
in cdfs/create.c .

This fixes a pool tag mismatch 'mNoI' != 'nFdC' BSOD when resources
are freed when closing a file that has been opened with a relative name
on a CDFS-mounted volume.
2018-12-30 15:26:42 +01:00
..
adapter.c
arcname.c [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
bootlog.c
controller.c [NTOSKRNL] Fix indentation. No code changes. 2018-12-16 10:30:23 +01:00
device.c [NTOSKRNL] Use proper enum type for IopCreateSecurityDescriptorPerType() 2018-12-04 19:20:47 +01:00
deviface.c [NTOS:IO] Fix indentation. No code changes. 2018-12-29 17:49:38 +01:00
driver.c [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
error.c [NTOS:IO] Tiny improvement to debug message 2018-11-25 11:31:12 +01:00
file.c [NTOS] Don't use TAG_IO_NAME when calling ExFreePoolWithTag() for freeing FileObject->FileName.Buffer . 2018-12-30 15:26:42 +01:00
iocomp.c
ioevent.c
iofunc.c [NTOSKRNL] Quickly check for alignment in NtRead/WriteFile 2018-10-04 10:45:10 +02:00
iomdl.c [NTOSKRNL] Fix indentation. No code changes. 2018-12-19 19:18:20 +01:00
iomgr.c [NTOSKRNL] Stub support for querying DOS name when parsing FO name 2018-10-03 11:45:08 +02:00
iorsrce.c
iotimer.c
iowork.c
irp.c [NTOSKRNL] Fix indentation. No code changes. 2018-12-19 19:18:21 +01:00
irq.c
ramdisk.c [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
rawfs.c [NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) 2018-12-30 12:19:11 +01:00
remlock.c
symlink.c
util.c [NTOSKRNL] Properly check for negative values in IoCheckEaBufferValidity() 2018-11-16 22:07:08 +01:00
volume.c