[Bug 780331] interleave segfaults with more than 64 channels

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 23 11:42:23 UTC 2017


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

Douglas Bagnall <douglas.bagnall at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #348366|needs-work                  |none
             status|                            |
 Attachment #348366|0                           |1
        is obsolete|                            |

--- Comment #5 from Douglas Bagnall <douglas.bagnall at catalyst.net.nz> ---
Created attachment 348562
  --> https://bugzilla.gnome.org/attachment.cgi?id=348562&action=edit
patch series

Patch 1/2 fixes the ordering_map bounds problem and sets channel-mask = 0 when
there are more than 64 channels.

Is that the kind of thing you meant Slomo?

Patch 2/2 addresses the hypothetical situation where the ordering map is not
filled out because self->channel_positions == NULL or some other reason, which
is indicated externally in gst_interleave_set_channel_positions by setting the
channel_mask to 0 but forgotten internally when gst_interleave_collected comes
to use the uninitialised array (I am not certain that this situation is
actually possible).

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