Public bug reported:

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

Reported upstream at http://bugzilla.gnome.org/show_bug.cgi?id=556066 ,
I've also posted a patch to that bug report that fixes the issue for me.

** Affects: gst-plugins-base0.10 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  ``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.
+ 
+ Reported upstream at http://bugzilla.gnome.org/show_bug.cgi?id=556066 ,
+ I've also posted a patch to that bug report that fixes the issue for me.

-- 
Last byte of FLAC image buffer chopped off
https://bugs.launchpad.net/bugs/282434
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to