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 krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
atom.c
dosexe.h
dosmem.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
error.c
file.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
fpu.c
global.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
instr.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
int2f.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
int15.c
int21.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
int25.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
int26.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
int31.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
interrupts.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
ioports.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
kernel.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
kernel16_private.h
krnl386.exe16.spec krnl386: Add GetLPErrMode stub. 2021-12-02 20:20:39 +01:00
local.c
ne_module.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
ne_segment.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
registry.c
relay.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
resource.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
selector.c
snoop.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
syslevel.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
task.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
thunk.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
utthunk.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00
version.rc
vxd.c krnl386.exe: Fix VxD filename format checks in __wine_vxd_open(). 2022-02-23 10:34:51 +01:00
wowthunk.c krnl386.exe16: Enable compilation with long types. 2022-02-11 11:21:29 +01:00