gstreamer/gst/isomp4
Justin Chadwell e6f66f4681 qtdemux: fix crashes when input stream contained no stsd entries
During trak parsing, we need to check for the existence of stsd_entries,
otherwise, we end up with a NULL pointer to them. It is entirely
possible for the stsd to exist, but for it to have no entries, which the
previous checks did not take into account.

This patch adds a simply check to ensure that all files that do not
contain a stsd entry are deemed corrupt, and adds a test case to prevent
a regression.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/670>
2020-07-15 12:10:45 +00:00
..
atoms.c qtdemux: Factor out svmi parsing. Fix bounds checking. 2020-06-18 14:41:27 +00:00
atoms.h qtmux: Add option to create a timecode trak in non-mov flavors 2020-04-03 18:19:38 +00:00
atomsrecovery.c gst-plugins-good: atoms_recovery: Handled buffer mapping failure 2017-10-24 22:04:27 -07:00
atomsrecovery.h atomsrecovery: read from mdat only what is on headers 2017-10-24 21:33:25 -07:00
descriptors.c qtdemux: Fix calcuation of descriptor length 2013-12-23 15:09:49 +01:00
descriptors.h Fix FSF address 2012-11-04 00:07:18 +00:00
fourcc.h qtdemux: Add 'mp3 ' fourcc that VLC seems to produce now 2020-04-22 15:32:31 -04:00
gstisoff.c qtdemux: Apply qtdemux debug category to gstisoff 2018-01-29 18:40:02 +00:00
gstisoff.h isomp4: Redefine gst_isoff_ symbols to gst_isoff_qt_ 2015-02-17 12:31:06 +01:00
gstqtmoovrecover.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstqtmoovrecover.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstqtmux-doc.c docstrings: port ulinks to markdown links 2019-08-23 18:56:01 +02:00
gstqtmux-doc.h isomp4mux: fix copy and paste 2014-02-18 22:35:45 +01:00
gstqtmux.c qtmux: Don't lock object lock twice in prefill mode 2020-07-07 12:36:01 +03:00
gstqtmux.h qtmux: Add property for enforcing the creation of chunks in single-stream files 2020-04-06 16:25:59 +03:00
GstQTMux.prs qtmux: Implement the preset interface. 2016-09-01 13:16:49 +03:00
gstqtmuxmap.c isomp4: Replace GST_VIDEO_CAPTION_TYPE_CEA608_IN_CEA708_RAW with CEA608_S334_1A 2018-12-15 21:31:20 +00:00
gstqtmuxmap.h isomp4: qtmux: Add Closed Caption support 2018-04-23 15:58:10 +02:00
gstrtpxqtdepay.c good: use new gst_element_class_add_static_pad_template() 2016-03-24 14:32:20 +02:00
gstrtpxqtdepay.h Fix FSF address 2012-11-04 00:07:18 +00:00
isomp4-plugin.c Don't use setlocale in plugins() 2013-09-01 21:18:38 +01:00
LEGAL quicktime: rename plugin to isomp4 2011-04-30 17:58:02 +01:00
meson.build qtdemux: Split tag reading functions out 2020-06-18 14:41:27 +00:00
properties.c Fix FSF address 2012-11-04 00:07:18 +00:00
properties.h docs: fix "Symbol name not found at the start of the comment block" 2015-07-07 17:12:02 +02:00
qtatomparser.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux.c qtdemux: fix crashes when input stream contained no stsd entries 2020-07-15 12:10:45 +00:00
qtdemux.h qtdemux: Split tag reading functions out 2020-06-18 14:41:27 +00:00
qtdemux_debug.h qtdemux: Apply qtdemux debug category to gstisoff 2018-01-29 18:40:02 +00:00
qtdemux_dump.c qtdemux: Add initial support for AV1 demuxing 2018-07-26 14:14:53 -04:00
qtdemux_dump.h isomp4: Add gmhd/gmin debugging 2018-01-31 19:12:48 +01:00
qtdemux_lang.c documentation: fix a number of typos 2019-10-05 22:38:11 +00:00
qtdemux_lang.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux_tags.c qtdemux: Split tag reading functions out 2020-06-18 14:41:27 +00:00
qtdemux_tags.h qtdemux: Split tag reading functions out 2020-06-18 14:41:27 +00:00
qtdemux_tree.c qtdemux: Move some tree parsing files out to a separate file. 2020-06-18 14:41:27 +00:00
qtdemux_tree.h qtdemux: Move some tree parsing files out to a separate file. 2020-06-18 14:41:27 +00:00
qtdemux_types.c qtdemux: Recognize more AV1 atoms 2018-07-26 14:14:53 -04:00
qtdemux_types.h qtdemux: handle default-base-is-moof flag 2015-08-05 18:12:45 -03:00
qtpalette.h Fix FSF address 2012-11-04 00:07:18 +00:00