libgda: apply patch for CVE-2021-39359

Upstream issue: https://gitlab.gnome.org/GNOME/libgda/-/issues/249
This commit is contained in:
Thomas Gerbet 2023-01-15 12:31:10 +01:00
parent 020a541057
commit 72faef96c6
2 changed files with 11 additions and 0 deletions

View file

@ -50,6 +50,12 @@ stdenv.mkDerivation rec {
url = "https://gitlab.gnome.org/GNOME/libgda/-/commit/57f618a3b2a3758ee3dcbf9bbdc566122dd8566d.patch";
sha256 = "pyfymUd61m1kHaGyMbUQMma+szB8mlqGWwcFBBQawf8=";
})
(fetchpatch {
name = "CVE-2021-39359.patch";
url = "https://gitlab.gnome.org/GNOME/libgda/-/commit/bebdffb4de586fb43fd07ac549121f4b22f6812d.patch";
sha256 = "sha256-UjHP1nhb5n6TOdaMdQeE2s828T4wv/0ycG3FAk+I1QA=";
})
];
nativeBuildInputs = [

View file

@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
url = "https://gitlab.gnome.org/GNOME/libgda/-/commit/9859479884fad5f39e6c37e8995e57c28b11b1b9.diff";
sha256 = "158sncc5bg9lkri1wb0i1ri1nhx4c34rzi47gbfkwphlp7qd4qqv";
})
(fetchpatch {
name = "CVE-2021-39359.patch";
url = "https://src.fedoraproject.org/rpms/libgda5/raw/72bb769f12e861e27e883dac5fab34f1ba4bd97e/f/bebdffb4de586fb43fd07ac549121f4b22f6812d.patch";
sha256 = "sha256-hIKuY5NEqOzntdlLb541bA4xZU5ypTRmV1u765K6KbM=";
})
];
nativeBuildInputs = [