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@winehq.org ReportedBy: dank@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.
http://bugs.winehq.org/show_bug.cgi?id=20430
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2009-10-22 10:40:39 --- Fixed by d527ca3382a1a968f184af3a83f6f1e482e4c442.
http://bugs.winehq.org/show_bug.cgi?id=20430
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2009-10-23 13:19:45 --- Closing bugs fixed in 1.1.32.