gstreamer/subprojects/gst-plugins-good/sys
Nicolas Dufresne 76c5eb4654 v4l2: Fix use after free of fmtdesc
The decoder needs to force another enumeration of the format. For
this it was clearing the v4l2object insternal list, leaving a fmtdesc
pointer pointing to freed memory. This patch clears the fmtdesc pointer
that has just been free. It also makes sure the probe function does not
use the cached formats list. The probe function will restore the current
fmtdesc pointer based on the currently configured pixelformat.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4426>
2023-04-14 15:16:06 +00:00
..
directsound meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
oss plugins: Fix various trivial clang compiler warnings 2023-03-18 19:52:40 +00:00
oss4 oss4: Fix debug category initialization 2022-10-11 13:02:54 +00:00
osxaudio meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
osxvideo osxvideosink: fix broken aspect ration and frame drawing region 2023-04-05 14:45:31 +00:00
rpicamsrc meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
v4l2 v4l2: Fix use after free of fmtdesc 2023-04-14 15:16:06 +00:00
waveform meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
ximage ximagesrc: grab the server while capturing screen image 2022-10-27 18:42:38 +00:00
meson.build