[Bug 660955] gst_type_register_static_full: guard against large instance sizes that don't fit into a guint16

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 10 11:44:46 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=660955
  GStreamer | gstreamer (core) | 0.10.32

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.35
            Summary|instance_size in            |gst_type_register_static_fu
                   |gst_type_register_static_fu |ll: guard against large
                   |ll should be guint16, not   |instance sizes that don't
                   |guint.                      |fit into a guint16

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-10-10 18:44:41 UTC ---
Can't change the function signature in the ABI stable series unfortunately, but
we can of course add some guards:

In 0.10 stable branch:

commit 56e27b0546a358c237737cace96c59623a0a858e
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Mon Oct 10 19:41:33 2011 +0100

    utils: catch invalid instance sizes in gst_type_register_static_full()

    Add guards to catch overly large instance sizes.

    https://bugzilla.gnome.org/show_bug.cgi?id=660955


In 0.11 branch:

commit 01c11ebf082aeec5b8f68ece1530c451f23b1822
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Mon Oct 10 19:30:34 2011 +0100

    utils: remove gst_type_register_static_full()

    It was only really used by GST_BOILERPLATE, and that is no more.

    https://bugzilla.gnome.org/show_bug.cgi?id=660955

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


More information about the gstreamer-bugs mailing list