gstreamer/subprojects/gst-plugins-base/gst-libs/gst/pbutils
Sebastian Groß 6372aaa608 audiovisualizer: shader: Fix dframe out of bound write
shader_fade_and_move_horiz_out writes a complete stride at the end of its
dframe data

This led to SIGSEGV since the stride reached into sframe->map[0]->memory
which could not be umpapped later on.

This is due to `d` is increased twice. Once at the end of the upper loop
and at the start of the lower loop.
The corresponding dframe stride is therefore skipped.

Rewind `d` and start at the correct position.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1702

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1751>
2022-02-21 08:20:44 +01:00
..
codec-utils.c codec-utils: Avoid out-of-bounds error 2022-02-10 07:58:36 +00:00
codec-utils.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
descriptions.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
descriptions.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
encoding-profile.c pbutils: Define one debug category per module 2022-01-18 18:19:46 +00:00
encoding-profile.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
encoding-target.c pbutils: Define one debug category per module 2022-01-18 18:19:46 +00:00
encoding-target.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiovisualizer.c audiovisualizer: shader: Fix dframe out of bound write 2022-02-21 08:20:44 +01:00
gstaudiovisualizer.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstdiscoverer-types.c discoverer: Set number to stream infos 2021-10-20 09:16:38 +00:00
gstdiscoverer.c discoverer: Set number to stream infos 2021-10-20 09:16:38 +00:00
gstdiscoverer.h discoverer: Set number to stream infos 2021-10-20 09:16:38 +00:00
gstpluginsbaseversion.c docs: fix unnecessary ampersand, < and > escaping in code blocks 2021-11-12 11:39:19 +00:00
gstpluginsbaseversion.h.in Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
install-plugins.c pbutils: Define one debug category per module 2022-01-18 18:19:46 +00:00
install-plugins.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build gst-plugins-base: define G_LOG_DOMAIN for all libraries 2021-10-19 00:12:25 +00:00
missing-plugins.c gstinfo,ptpclock,libcheck: Use GetCurrentProcessId() instead of getpid() on Windows 2022-02-16 17:03:29 +00:00
missing-plugins.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
pbutils-prelude.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
pbutils-private.h discoverer: Set number to stream infos 2021-10-20 09:16:38 +00:00
pbutils.c pbutils: Define one debug category per module 2022-01-18 18:19:46 +00:00
pbutils.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00