qtdemux: prevent buffer flow if any stream failed to be exposed
authorPhilippe Normand <philn@igalia.com>
Wed, 24 Feb 2016 10:28:09 +0000 (11:28 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 25 Feb 2016 10:46:27 +0000 (12:46 +0200)
commit67f3fc174827ff9255c5459f4857b8f214f7f447
treeb6b65eb8fd80f9e299eb5fea911407147d1a5afb
parentfb5d50cd07c4aa66d711e2cb0303637ab6d2f695
qtdemux: prevent buffer flow if any stream failed to be exposed

In some cases the stream configuration can fail, for instance if the
stream is protected and no decryptor was found. For those situations
the demuxer shouldn't emit any data on the corresponding source pad of
the stream and bail out.

https://bugzilla.gnome.org/show_bug.cgi?id=762516
gst/isomp4/qtdemux.c