wine/dlls/krnl386.exe16
Alistair Leslie-Hughes 77e0aae7f3 krnl386.exe16: Don't overflow when calculating size.
The application again the bug, passed 1 as the elem parameter which
doubled the memory being allocated.  When it overflowed (became negative),
the value was passed into GlobalAlloc16 which then failed.

GlobalAlloc16 takes a DWORD parameter, so the value isn't going to be truncated.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53092

Original patch by github user cracyc for winevdm.
2023-06-01 22:00:19 +02:00
..
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
Makefile.in
ne_module.c
ne_segment.c krnl386.exe16: Don't overflow when calculating size. 2023-06-01 22:00:19 +02:00
registry.c
relay.c krnl386: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-15 19:55:12 +01:00
resource.c
selector.c
snoop.c
syslevel.c
task.c
thunk.c krnl386: Remove a trace that causes compiler warnings. 2023-01-24 22:24:42 +01:00
utthunk.c
version.rc
vxd.c
wowthunk.c