Sweden-Number/dlls/krnl386.exe16
Damjan Jovanovic fc4726c225 krnl386.exe: Fix VxD filename format checks in __wine_vxd_open().
__wine_vxd_open() has several bugs. If filenameW doesn't end in
".vxd", it is wrongly
allowed to be over 8 characters long. If it does end in ".vxd", then a
maximum length
filename, eg. "12345678.vxd", always gets misdetected as being too long, as:
"lstrlenW( filenameW ) >= ARRAY_SIZE(name) - 4"
becomes 12 >= 12.

Rather do the checks for maximum filename length when we detect the
filename format.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-23 10:34:51 +01:00
..
Makefile.in
atom.c
dosexe.h
dosmem.c
error.c
file.c
fpu.c
global.c
instr.c
int2f.c
int15.c
int21.c
int25.c
int26.c
int31.c
interrupts.c
ioports.c
kernel.c
kernel16_private.h
krnl386.exe16.spec
local.c
ne_module.c
ne_segment.c
registry.c
relay.c
resource.c
selector.c
snoop.c
syslevel.c
task.c
thunk.c
utthunk.c
version.rc
vxd.c
wowthunk.c