mcrypt: fix several security issues (close #12194)
CVE-2012-4409, CVE-2012-4426, CVE-2012-4527 Patches taken from https://gitweb.gentoo.org/repo/gentoo.git/tree/app-crypt/mcrypt/files
This commit is contained in:
committed by
Vladimír Čunát
parent
9265d097d5
commit
4f4eebbded
@@ -1,16 +1,18 @@
|
||||
{ stdenv, fetchurl, libmcrypt, libmhash }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.6.8";
|
||||
name = "mcrypt-${version}";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/mcrypt/MCrypt/${version}/${name}.tar.gz";
|
||||
sha256 = "5145aa844e54cca89ddab6fb7dd9e5952811d8d787c4f4bf27eb261e6c182098";
|
||||
};
|
||||
|
||||
buildInputs = [libmcrypt libmhash];
|
||||
|
||||
|
||||
patches = [ ./format-string.patch ./overflow.patch ./segv.patch ./sprintf.patch ];
|
||||
|
||||
buildInputs = [ libmcrypt libmhash ];
|
||||
|
||||
meta = {
|
||||
description = "Replacement for old UNIX crypt(1)";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user