mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
libtomcrypt: fix CVE-2019-17362 (security)
This commit is contained in:
parent
860ab67458
commit
5f16eca72b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libtool }:
|
{ stdenv, fetchurl, fetchpatch, libtool }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libtomcrypt";
|
pname = "libtomcrypt";
|
||||||
@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "113vfrgapyv72lalhd3nkw7jnks8az0gcb5wqn9hj19nhcxlrbcn";
|
sha256 = "113vfrgapyv72lalhd3nkw7jnks8az0gcb5wqn9hj19nhcxlrbcn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2019-17362.patch";
|
||||||
|
url = "https://github.com/libtom/libtomcrypt/pull/508/commits/25c26a3b7a9ad8192ccc923e15cf62bf0108ef94.patch";
|
||||||
|
sha256 = "1bwsj0pwffxw648wd713z3xcyrbxc2z646psrzp38ys564fjh5zf";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ libtool ];
|
nativeBuildInputs = [ libtool ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user