reactos/drivers
Pierre Schweitzer 9d0596afe1
[CDFS] Properly check for legal names in CdIsLegalName()
Up to now, it was working by chance. Indeed, due to the invalid
ASCII check performed before calling FsRtlIsAnsiCharacterLegalHpfs(), the
macro is improperly called and overruns the FsRtlLegalAnsiCharacterArray
buffer. Fortunately, up to now, right after that buffer in kernel binary
there are strings which are more or less consistent with the flags that
are expected by the macro, causing a decent behavior of
FsRtlIsAnsiCharacterLegalHpfs() even for extended ASCII characters
(whereas FsRtlIsAnsiCharacterLegalHpfs() is only designed for ASCII
characters). But this is a totally out of control and wrong behavior.
A single change in the way the kernel was built could have caused the
CDFS driver not to work as previously.

I have made the choice to allow any extended ASCII character as done
for the unicode characters. This is a good compromise to avoid drastic
regressions for users having extended ASCII characters in their CD
file names.

This imports proposed upstream commit 1b6b625641dffb49951e60398e1a9c672318ea71
See pull request https://github.com/Microsoft/Windows-driver-samples/pull/278

CORE-14067
2018-08-28 07:50:58 +02:00
..
base [NULL] Additions for the Null driver. 2018-04-22 22:23:54 +02:00
battery
bluetooth [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +01:00
bus [REACTOS] Improve how some ASSERTMSG() message values are printed: enforce ending "\n". 2018-08-08 22:03:45 +02:00
crypto [REACTOS] Fix x64 build 2017-10-22 16:49:04 +02:00
filesystems [CDFS] Properly check for legal names in CdIsLegalName() 2018-08-28 07:50:58 +02:00
filters [DRIVERS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
hid [DRIVERS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed. 2017-12-30 11:44:25 +01:00
input [I8042PRT] Move DMI/SMBIOS parsing functions into library 2018-08-02 21:29:57 +02:00
ksfilter [SWENUM] Add version information. CORE-14112 2017-12-17 02:22:28 +01:00
multimedia Delete "ghost" old(*) files that have been mysteriously added back during the SVN-to-Git transition. 2017-10-04 10:28:36 +02:00
network [DRIVERS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
parallel [DRIVERS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
processor
sac [DRIVERS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
serial [SERIAL] Fix Serial{Get,Clear}PerfStats() to become proper PKSYNCHRONIZE_ROUTINE routines and get rid of the related casts. Brought to you by Thomas Faber. CORE-11799 (#94) 2017-10-31 15:44:39 +01:00
setup [BLUE] Use ByteOffset.QuadPrt instead of ByteOffset.LowPart 2018-07-07 16:15:58 +02:00
storage [CDROM] Set proper status on disk verify 2018-08-19 11:11:21 +02:00
usb [USBPORT] Fix 64 bit warnings. 2018-08-16 14:14:42 +02:00
wdm [DRIVERS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed. 2017-12-30 11:44:25 +01:00
wmi
CMakeLists.txt