[Bug 36903] New: valgrind shows an unitialized variable in dlls/ieframe/tests/ie.c (nsDocShell::EnsureScriptEnvironment)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 15 20:44:18 CDT 2014


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

            Bug ID: 36903
           Summary: valgrind shows an unitialized variable in
                    dlls/ieframe/tests/ie.c
                    (nsDocShell::EnsureScriptEnvironment)
           Product: Wine
           Version: 1.7.22
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: ieframe
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

==2050== Conditional jump or move depends on uninitialised value(s)
==2050==    at 0x10629412: nsDocShell::EnsureScriptEnvironment
(nsdocshell.cpp:11558)
==2050==    by 0x10626070: nsDocShell::GetInterface (nsdocshell.cpp:949)
==2050==    by 0x109B4D9F: nsGetInterface::operator()
(nsiinterfacerequestorutils.cpp:19)
==2050==    by 0x109B3D79: nsCOMPtr_base::assign_from_helper (nscomptr.cpp:110)
==2050==    by 0x10664C99: nsWebBrowser::GetContentDOMWindow
(nswebbrowser.cpp:369)
==2050==    by 0x10666AEF: nsWebBrowser::Create (nswebbrowser.cpp:1206)
==2050==    by 0x75DCC14: init_nscontainer (nsiface.h:61338)
==2050==    by 0x75DD0B1: create_nscontainer (nsembed.c:2060)
==2050==    by 0x755D477: HTMLDocument_Create (htmldoc.c:4756)
==2050==    by 0x75C7178: ClassFactory_CreateInstance (main.c:238)
==2050==    by 0x4EDD0A2: CoCreateInstance (unknwn.h:226)
==2050==    by 0x4E042B2: create_mime_object (binding.c:258)
==2050==    by 0x4E04652: create_object (binding.c:308)
==2050==    by 0x4E071E8: report_data (binding.c:1077)
==2050==    by 0x4E07531: InternetProtocolSink_ReportData (binding.c:1126)
==2050==    by 0x4E0C8F0: ProtocolSinkHandler_ReportData (urlmon.h:3113)
==2050==    by 0x4E0D441: report_data_proc (urlmon.h:3113)
==2050==    by 0x4E0910E: process_tasks (bindprot.c:57)
==2050==    by 0x4E0915C: notif_wnd_proc (bindprot.c:68)
==2050==    by 0x53636FD: ??? (winproc.c:173)
==2050==  Uninitialised value was created by a stack allocation
==2050==    at 0x106293A2: nsDocShell::EnsureScriptEnvironment
(nsdocshell.cpp:11532)

again, saw this one with a few variations, this suppression 
{
   <insert_a_suppression_name_here>
   Memcheck:Cond
   ...
   fun:nsDocShell::EnsureScriptEnvironment
   fun:nsDocShell::GetInterface
   fun:nsGetInterface::operator()
   fun:nsCOMPtr_base::assign_from_helper
   fun:nsWebBrowser::GetContentDOMWindow
   fun:nsWebBrowser::Create
   fun:init_nscontainer
   fun:create_nscontainer
   fun:HTMLDocument_Create
   fun:ClassFactory_CreateInstance
   fun:CoCreateInstance
   fun:create_mime_object
   fun:create_object
   fun:report_data
   fun:InternetProtocolSink_ReportData
   fun:ProtocolSinkHandler_ReportData
   fun:report_data_proc
   fun:process_tasks
   ...
}

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