Skip to content

Commit

Permalink
gupnp: apply the patch for CVE-2021-33516
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed Jun 4, 2021
1 parent 1e5e12d commit 78d2a14
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/libraries/gupnp/default.nix
@@ -1,5 +1,6 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
Expand Down Expand Up @@ -28,6 +29,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-96AwfqUfXkTRuDL0k92QRURKOk4hHvhd/Zql3W6up9E=";
};

patches = [
(fetchpatch {
name = "CVE-2021-33516.patch";
url = "https://gitlab.gnome.org/GNOME/gupnp/-/commit/ca6ec9dcb26fd7a2a630eb6a68118659b589afac.patch";
sha256 = "sha256-G7e/xNQB7Kp2fPzqVeD/cH3h1co9hZXh55QOUBnAnvU=";
})
];

nativeBuildInputs = [
meson
ninja
Expand Down

0 comments on commit 78d2a14

Please sign in to comment.