Changeset 49445 in webkit


Ignore:
Timestamp:
Oct 12, 2009 11:09:13 AM (15 years ago)
Author:
eric@webkit.org
Message:

2009-10-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>

Reviewed by Gustavo Noronha.

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

Fix 0 sentinel for g_object_set() function call.

  • platform/graphics/gtk/DataSourceGStreamer.cpp: (webkit_data_src_uri_set_uri): 0 is passed as 32 bit value on x86-64 in vararg functions, but g_object_set() expects a 64 bit 0. This will cause crashes.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r49441 r49445  
     12009-10-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
     2
     3        Reviewed by Gustavo Noronha.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=30307
     6       
     7        Fix 0 sentinel for g_object_set() function call.
     8
     9        * platform/graphics/gtk/DataSourceGStreamer.cpp:
     10        (webkit_data_src_uri_set_uri):
     11        0 is passed as 32 bit value on x86-64 in vararg functions, but
     12        g_object_set() expects a 64 bit 0. This will cause crashes.
     13
    1142009-10-12  Cameron McCormack  <cam@mcc.id.au>
    215
  • trunk/WebCore/platform/graphics/gtk/DataSourceGStreamer.cpp

    r48963 r49445  
    215215                                                                       decoded_size,
    216216                                                                       g_free);
    217             g_object_set(src->kid, "stream", stream, 0);
     217            g_object_set(src->kid, "stream", stream, NULL);
    218218            g_object_unref(stream);
    219219
Note: See TracChangeset for help on using the changeset viewer.