[Bug 777940] qtdemux: huge memory allocation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 30 20:23:03 UTC 2017


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

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

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Created attachment 344580
  --> https://bugzilla.gnome.org/attachment.cgi?id=344580&action=edit
qtdemux: sanity check number of segments in edit list

I first did something like

  if (n_segments > (G_MAXINT / entry_size))

which I then revised to

  if (n_segments > ((N * 1024 * 1024) / entry_size))

but it all seemed silly in the end, might just as well specify some threshold
directly.

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