Skip to content

dvdspu: Make sure enough data is allocated for the available data

Tim-Philipp Müller requested to merge tpm/gstreamer:dvdspu-spg-fixes into main

If the size read from the stream is smaller than the currently available data then the size is bogus and the data should simply be discarded.

Fixes ZDI-CAN-20994 Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2660

Merge request reports

Loading