Skip to content

qtdemux: check return value from gst_structure_get in PIFF box

Jacek Skiba requested to merge jacekskiba.88/gstreamer:qtdemux_piff_crash into main

Reproduction testcase (uses PlayReady): https://developers.canal-plus.com/rx-player/upc/?appTileLocation=[object%20Object]

In test streams we are using PIFF box, but caps did not had present GST_PROTECTION_SYSTEM_ID_CAPS_FIELD. In consequence, we returned invalid system_id pointer, which caused SIGSEGV crash.

Merge request reports