Merge pull request #121099 from mweinelt/20.09/gst-plugins-good

[20.09] gst_all_1.gst-plugins-good: Fix matroska security issues
This commit is contained in:
Luke Granger-Brown
2021-04-29 12:43:34 +01:00
committed by GitHub

View File

@@ -1,5 +1,6 @@
{ stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, pkgconfig
@@ -55,7 +56,21 @@ stdenv.mkDerivation rec {
sha256 = "0pzq565ijl5z3mphvix34878m7hck6a58rdpj7sp7rixwwzkm8nk";
};
patches = [ ./fix_pkgconfig_includedir.patch ];
patches = [
./fix_pkgconfig_includedir.patch
(fetchpatch {
# https://gstreamer.freedesktop.org/security/sa-2021-0002.html
name = "CVE-2021-3497.patch";
url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/commit/9181191511f9c0be6a89c98b311f49d66bd46dc3.patch";
sha256 = "10dvfxrw7l3gflk9fzn5x18vkj4080dfkjnzldc12r5mnl37qdz8";
})
(fetchpatch {
# https://gstreamer.freedesktop.org/security/sa-2021-0003.html
name = "CVE-2021-3498.patch";
url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/commit/02174790726dd20a5c73ce2002189bf240ad4fe0.patch";
sha256 = "1sygia6z0yv5grzii6z9bviwi6rm6br3xjr0cnffsji6z943d7vc";
})
];
nativeBuildInputs = [
pkgconfig