GStreamer plugins with good code and licensing
Go to file
Tomas Pelka 8970e129a7 avidemux: Add GLib < 2.68 compatibility shim for g_memdup2
RHEL-246869: the CVE-2026-73433 backport (Patch11) introduces two
calls to g_memdup2() in gst/avi/gstavidemux.c (gst_avi_demux_parse_strd
and gst_avi_demux_parse_ncdt). g_memdup2() was only added in GLib 2.68;
RHEL 8 ships GLib 2.56.4. Since GStreamer elements are dlopen-loaded
plugins, the missing symbol does not fail the build -- it fails at
plugin load time with 'undefined symbol: g_memdup2', silently
disabling the entire avi plugin (avidemux/avimux).

There is no upstream commit to backport for this: upstream's own
gst/glib-compat-private.h already provides this exact fallback macro
for builds against GLib < 2.67.4 (see commit b16e96dd87 in the
gstreamer monorepo), and meson wires it into config.h automatically.
That mechanism doesn't exist in this 1.16.1 autotools-based tree, so
add the same macro directly to gstavidemux.c ahead of its first use,
as an additional hunk appended to the existing CVE-2026-73433 patch.

This follows Option A from the Jira discussion (preferred by both the
Ymir triage agent and Wim Taymans), matching the exact mechanism
GStreamer itself uses rather than replacing g_memdup2 with a plain
g_memdup call.

Verified: applying the modified patch with "patch -p1" against a
pristine gst-plugins-good-1.16.1 source tree succeeds cleanly (exit 0,
no .rej files), with the compat macro defined before both g_memdup2
call sites.

Resolves: RHEL-246869
2026-08-24 14:57:20 +02:00
.gitignore re-import sources as agreed with the maintainer 2023-07-10 12:58:17 +02:00
0001-matroskademux-Fix-extraction-of-multichannel-WavPack.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0001-rtpqdm2depay-error-out-if-anyone-tries-to-use-this-e.patch Add patch for CVE-2026-3083 and CVE-2026-3085 2026-03-31 13:22:08 +02:00
0002-matroskademux-Initialize-track-context-out-parameter.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0003-flacparse-Avoid-integer-overflow-in-available-data-c.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0004-qtdemux-Avoid-integer-overflow-when-parsing-Theora-e.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0005-gdkpixbufdec-Check-if-initializing-the-video-info-ac.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0006-matroskademux-Only-unmap-GstMapInfo-in-WavPack-heade.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0007-matroskademux-Fix-off-by-one-when-parsing-multi-chan.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0008-qtdemux-Fix-integer-overflow-when-allocating-the-sam.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
0009-qtdemux-Make-sure-only-an-even-number-of-bytes-is-pr.patch CVE-2024-47537, CVE-2024-47539, CVE-2024-47540, CVE-2024-47606, 2024-12-16 16:13:39 +01:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 10:43:14 -08:00
gstreamer1-plugins-good-1.16.1-CVE-2026-18296.patch Fix CVE-2026-18296: heap buffer overflow in qtmoovrecover 2026-08-22 13:01:55 +00:00
gstreamer1-plugins-good-1.16.1-CVE-2026-18298.patch Fix CVE-2026-18298: heap buffer overflow in GdkPixbuf image decoder 2026-08-22 13:01:55 +00:00
gstreamer1-plugins-good-1.16.1-CVE-2026-18299.patch Fix CVE-2026-18299: Use-After-Free in rtpsbcdepay 2026-08-22 13:01:55 +00:00
gstreamer1-plugins-good-1.16.1-CVE-2026-18649.patch Fix CVE-2026-18649 in H.264/H.265 RTP depayloaders 2026-08-13 14:43:28 +00:00
gstreamer1-plugins-good-1.16.1-CVE-2026-53705.patch Fix CVE-2026-53705: integer overflow in wavpackdec 2026-06-19 14:55:03 +00:00
gstreamer1-plugins-good-1.16.1-CVE-2026-73433.patch avidemux: Add GLib < 2.68 compatibility shim for g_memdup2 2026-08-24 14:57:20 +02:00
gstreamer1-plugins-good-1.16.1-CVE-2026-73434.patch Fix CVE-2026-73434: out-of-bounds read in AVI demuxer vprp handling 2026-08-13 14:49:59 +00:00
gstreamer1-plugins-good-1.16.1-RHEL-246382.patch Fix CVE-2026-18296: heap buffer overflow in qtmoovrecover 2026-08-22 13:07:25 +00:00
gstreamer1-plugins-good.spec avidemux: Add GLib < 2.68 compatibility shim for g_memdup2 2026-08-24 14:57:20 +02:00
sources Auto sync2gitlab import of gstreamer1-plugins-good-1.16.1-2.el8.src.rpm 2022-05-26 09:17:30 -04:00