[gstreamer-bugs] [Bug 398110] [theoraenc] GLib failed to allocate 3080991032 bytes on gentoo

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jan 29 10:16:18 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=398110

  GStreamer | gst-plugins-base | Ver: 0.10.11


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.12




------- Comment #3 from Tim-Philipp Müller  2007-01-29 18:14 UTC -------
Some more debugging on IRC revealed that packet->bytes was uninitialised.

The reason this happened was that theora_encode_headers() returned a failure
code, which in turn was due to libtheora having been compiled with encoding
support disabled. Good stuff.

Fixed in CVS:

  2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/theora/theoraenc.c: (theora_enc_chain):
          Check return value of theora_encode_header(), or we might try to
          allocate a random number of bytes. theora_encode_header() can fail
          if libtheora has been compiled with encoding support disabled.
          Fixes #398110.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list