[Webkit-unassigned] [Bug 30307] New: [GStreamer] Missing sentinel in g_object_set() call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 12 08:50:03 PDT 2009


           Summary: [GStreamer] Missing sentinel in g_object_set() call
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: slomo at circular-chaos.org

  CXX    WebCore/platform/graphics/gtk/libWebCore_la-DataSourceGStreamer.lo
WebCore/platform/graphics/gtk/DataSourceGStreamer.cpp: In function ‘gboolean
webkit_data_src_uri_set_uri(GstURIHandler*, const gchar*)’:
WebCore/platform/graphics/gtk/DataSourceGStreamer.cpp:217: warning: missing
sentinel in function call

Problem is, that 0 is an integer and integers are passed as 32 bit values on
x86-64 while the function expects a 64 bit 0 as sentinel. This will cause
crashes and havoc.

Attached trivial patch fixes this.

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