[gstreamer-bugs] [Bug 556066] New: Last byte of FLAC image buffer chopped off

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Oct 12 15:17:38 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=556066

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: Last byte of FLAC image buffer chopped off
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: jmillikin at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.23/2.24
   GNOME milestone: Unspecified


``gst_tag_image_data_to_image_buffer()`` tries to do some sort of magic with
NULL termination bytes and data lengths, but it's reporting the image's buffer
to be one byte too small. This is because when the buffer is allocated with
image_data_len + 1 bytes, its size is reported as image_data_len. When it's
resized later on line 437, it's resized to image_data_len - 1 bytes.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=556066.




More information about the Gstreamer-bugs mailing list