https://bugs.winehq.org/show_bug.cgi?id=52610
Bug ID: 52610 Summary: Memory corruption in PE build, when using FIXME in krnl386.exe __wine_vxd_open() function Product: Wine Version: 7.3 Hardware: x86-64 OS: FreeBSD Status: NEW Severity: normal Priority: P2 Component: build-env Assignee: wine-bugs@winehq.org Reporter: damjan.jov@gmail.com
In the PE build (only), calling FIXME("anything\n") in the krnl386.exe __wine_vxd_open() function causes the contents of the filename parameter to get overwritten with "l.dll".
This is a recent regression, bisected to:
6ebcc54a5c2c4b5724571f37ab41e99ee9e49acb is the first bad commit commit 6ebcc54a5c2c4b5724571f37ab41e99ee9e49acb Author: Alexandre Julliard julliard@winehq.org Date: Thu Nov 11 11:38:31 2021 +0100
makefiles: Explicitly import all the needed libraries.
Don't rely on winegcc adding any default libraries.
Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/krnl386.exe16/Makefile.in | 3 +- tools/makedep.c | 162 +++++++++++++++++++++-------------------- tools/winegcc/winegcc.c | 4 - 3 files changed, 85 insertions(+), 84 deletions(-)