[Bug 652642] typefind: NULL check in degas_type_find

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 15 10:40:18 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=652642
  GStreamer | gst-plugins-base | git

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
                 CC|                            |t.i.m at zen.co.uk

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-06-15 17:40:12 UTC ---
I wonder how that happens. Something else seems wrong here, ie if it does:

  len = gst_type_find_get_length (tf);
  if (len < 34)
    return;

then peek(0, 4) must succeed, or the length reporting is broken. Any idea
what's going on? Can you reproduce the issue?

The NULL checks aren't wrong of course, but we shouldn't work around bugs
elsewhere IMHO.

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