[Bug 48742] New: ntdll: get_modref: Conditional jump or move depends on uninitialised value(s)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Mar 12 00:43:21 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48742

            Bug ID: 48742
           Summary: ntdll: get_modref: Conditional jump or move depends on
                    uninitialised value(s)
           Product: Wine
           Version: 5.3
          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 66632
  --> https://bugs.winehq.org/attachment.cgi?id=66632
Configure output.

Steps to reproduce:

* Build wine 5.3 (or commit 4dfd5f22f4).  Configure output attached.
* Disable wine preloader to make valgrind a little quieter.
* Compile a test program (I used 'int main() { return 0; }') using
i686-w64-mingw32-gcc
* Run this under valgrind.  Valgrind output attached.

An error near the top is

==7642== Conditional jump or move depends on uninitialised value(s)
==7642==    at 0x7BC7472A: get_modref (loader.c:478)
==7642==    by 0x7BC7B13A: LdrAddRefDll (loader.c:3158)
==7642==    by 0x408F0237: load_driver (driver.c:176)
==7642==    by 0x408F0B6A: loaderdrv_CreateWindow (driver.c:673)
==7642==    by 0x40958511: WIN_CreateWindowEx (win.c:1664)
==7642==    by 0x409589BF: CreateWindowExW (win.c:1798)
==7642==    by 0x405FD6DF: manage_desktop (desktop.c:955)
==7642==    by 0x4060327C: parse_command_line (explorer.c:764)
==7642==    by 0x40603320: wWinMain (explorer.c:795)
==7642==    by 0x40606A37: wmain (exe_wmain.c:55)
==7642==    by 0x40606922: __wine_spec_exe_wentry (exe_wentry.c:40)
==7642==    by 0x7B450045: ??? (debug.h:508)

The uninitialized value is the 'hmod' argument to get_modref.

-- 
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