mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 21:44:49 +00:00
radare2: apply patch for CVE-2022-4843
https://huntr.dev/bounties/075b2760-66a0-4d38-b3b5-e9934956ab7f/
This commit is contained in:
parent
2add5f003a
commit
2c8cc56ebc
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPackages
|
||||
, pkg-config
|
||||
, meson
|
||||
@ -56,6 +57,14 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-9bDwtMNru7tG0L735y+Vrcg7Htk/TV9SVZn7WP4Ap4c=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2022-4843.patch";
|
||||
url = "https://github.com/radareorg/radare2/commit/842f809d4ec6a12af2906f948657281c9ebc8a24.patch";
|
||||
sha256 = "sha256-asEXW9Ox48w9WQhOA9tleXIvynIjsWb6ItKmFTojgbQ=";
|
||||
})
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
pushd ../libr/arch/p/arm/v35arm64
|
||||
cp -r ${arm64} arch-arm64
|
||||
|
Loading…
Reference in New Issue
Block a user