[Bug 20430] New: widl generating proxies and stubs with uninitialized variables?

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 20 11:22:10 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20430

           Summary: widl generating proxies and stubs with uninitialized
                    variables?
           Product: Wine
           Version: 1.1.31
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: source, testcase
          Severity: normal
          Priority: P2
         Component: programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


The command

cd dlls/ole32/tests
valgrind --trace-children=yes --workaround-gcc296-bugs=yes --track-origins=yes
-q ../../../wine ole32_test.exe.so marshal.c 

shows the valgrind warnings

Conditional jump or move depends on uninitialised value(s)
   at 0xD8BC349: __widl_exception_handler (dcom_p.c:81)
   by 0xCC97100: ??? (signal_i386.c:2329)
   by 0xCC970D2: ??? (signal_i386.c:2329)
   by 0xCC92EDB: call_stack_handlers (signal_i386.c:606)
   by 0xCC93379: raise_exception (signal_i386.c:684)
   by 0xCC96EF7: __regs_RtlRaiseException (signal_i386.c:2277)
   by 0xCCAE638: __wine_call_from_32_regs (in
/home/dank/wine-git/dlls/ntdll/ntdll.dll.so)
   by 0xCC96F27: ??? (signal_i386.c:2279)
   by 0xDEF37AA: RpcRaiseException (rpcrt4_main.c:176)
   by 0xDEB66A4: NdrProxySendReceive (cproxy.c:434)
   by 0xD8BD9BC: IRemUnknown_RemRelease_Proxy (dcom_p.c:644)
   by 0xD87EC82: ifproxy_release_public_refs (marshal.c:642)
 Uninitialised value was created by a stack allocation
   at 0xD8BD781: IRemUnknown_RemRelease_Proxy (dcom_p.c:610)

Conditional jump or move depends on uninitialised value(s)
   at 0xD9275A1: __widl_exception_handler (ole32_unknwn_p.c:81)
   by 0xCC97100: ??? (signal_i386.c:2329)
   by 0xCC970D2: ??? (signal_i386.c:2329)
   by 0xCC92EDB: call_stack_handlers (signal_i386.c:606)
   by 0xCC93379: raise_exception (signal_i386.c:684)
   by 0xCC96EF7: __regs_RtlRaiseException (signal_i386.c:2277)
   by 0xCCAE638: __wine_call_from_32_regs (in
/home/dank/wine-git/dlls/ntdll/ntdll.dll.so)
   by 0xCC96F27: ??? (signal_i386.c:2279)
   by 0xDEF37AA: RpcRaiseException (rpcrt4_main.c:176)
   by 0xDEB66A4: NdrProxySendReceive (cproxy.c:434)
   by 0xD9278CC: IClassFactory_RemoteCreateInstance_Proxy
(ole32_unknwn_p.c:212)
   by 0xD8B7C23: IClassFactory_CreateInstance_Proxy (usrmarshal.c:2202)
 Uninitialised value was created by a stack allocation
   at 0xD927711: IClassFactory_RemoteCreateInstance_Proxy
(ole32_unknwn_p.c:186)

It seems that widl is generating code that doesn't initialize
some buffers that are sent.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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