[Webkit-unassigned] [Bug 45199] New: Uninitialized member variable in PolicyCallback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 3 14:22:26 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45199

           Summary: Uninitialized member variable in PolicyCallback
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bfulgham at webkit.org


BoundsChecker noticed several copy operations for PolicyCallback where the m_argument member was uninitialized.

Proposed patch:

$ svn diff PolicyCallback.cpp
Index: PolicyCallback.cpp
===================================================================
--- PolicyCallback.cpp  (revision 66733)
+++ PolicyCallback.cpp  (working copy)
@@ -42,6 +42,7 @@
     : m_navigationFunction(0)
     , m_newWindowFunction(0)
     , m_contentFunction(0)
+    , m_argument(0)
 {
 }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list