diff options
| author | Robert Scott <code@humanleg.org.uk> | 2021-12-21 18:22:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-21 18:22:21 +0000 |
| commit | cbdbb39ad62e753366dd2b257b16994009e66bf8 (patch) | |
| tree | 85e0ce93c7c4ddb71572195e76f55bae9c9c8420 | |
| parent | Merge pull request #151376 from mweinelt/21.05/firefox (diff) | |
| parent | zydis: add patch for CVE-2021-41253 (diff) | |
| download | nixpkgs-cbdbb39ad62e753366dd2b257b16994009e66bf8.tar.gz | |
Merge pull request #149426 from risicle/ris-zydis-3.1.0-CVE-2021-41253-r21.05
[21.05] zydis: add patch for CVE-2021-41253
| -rw-r--r-- | pkgs/development/libraries/zydis/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/zydis/default.nix b/pkgs/development/libraries/zydis/default.nix index dd3f4b916314..e59c517c8c99 100644 --- a/pkgs/development/libraries/zydis/default.nix +++ b/pkgs/development/libraries/zydis/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, cmake }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }: stdenv.mkDerivation rec { pname = "zydis"; @@ -12,6 +12,14 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; + patches = [ + (fetchpatch { + name = "CVE-2021-41253.patch"; + url = "https://github.com/zyantific/zydis/commit/330b259583ade789886ce11af2ebcd030097dcbf.patch"; + sha256 = "137lvqcm5fabv82f11c28skczb0hrmqh7i9a7hj2121p0nd729rr"; + }) + ]; + nativeBuildInputs = [ cmake ]; meta = with lib; { |
