radare2: add patch for CVE-2021-3673
This commit is contained in:
parent
d3fbdb26a2
commit
12a8c6cdce
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, buildPackages
|
, buildPackages
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, libusb-compat-0_1
|
, libusb-compat-0_1
|
||||||
@ -37,6 +38,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-VS8eG5RXwKtJSLmyaSifopJU7WYGMUcznn+burPqEYE=";
|
sha256 = "sha256-VS8eG5RXwKtJSLmyaSifopJU7WYGMUcznn+burPqEYE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2021-3673.patch";
|
||||||
|
url = "https://github.com/radareorg/radare2/commit/d7ea20fb2e1433ebece9f004d87ad8f2377af23d.patch";
|
||||||
|
sha256 = "14vr2chcyx9xrb1krczppwy619fb3k5dnyc4mcg40mvfl70ndbwn";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D -m755 $src/binr/r2pm/r2pm $out/bin/r2pm
|
install -D -m755 $src/binr/r2pm/r2pm $out/bin/r2pm
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user