[Bug 49494] New: Branching on uninitialized variables in unix_to_win_locale.
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Jul 1 06:27:04 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49494
Bug ID: 49494
Summary: Branching on uninitialized variables in
unix_to_win_locale.
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs at winehq.org
Reporter: jeffersoncarpenter2 at gmail.com
Distribution: ---
Created attachment 67621
--> https://bugs.winehq.org/attachment.cgi?id=67621
Configure output.
This is a very recent problem, introduced in b6722aa752
Steps to reproduce:
* Build wine b6722aa752 (my configure output is attached)
* Build 'int main() { return 0; }' using i686-w64-mingw-gcc
* Run under valgrind (valgrind output attached)
Valgrind emits many warnings such as this:
==17065== Conditional jump or move depends on uninitialised value(s)
==17065== at 0x403C51E: strpbrk (vg_replace_strmem.c:1689)
==17065== by 0x4839781: unix_to_win_locale (env.c:664)
==17065== by 0x4839956: init_locale (env.c:716)
==17065== by 0x48399A2: init_environment (env.c:780)
==17065== by 0x484B4BB: __wine_main (loader.c:1825)
==17065== by 0x7C0018E4: main (main.c:285)
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list