cifs-utils: fix CVE-2021-20208

https://lists.samba.org/archive/samba-technical/2021-April/136467.html
This commit is contained in:
Thomas Gerbet
2021-05-01 09:35:55 +02:00
parent be58d0fbaa
commit 79b29fbde8

View File

@@ -20,12 +20,17 @@ stdenv.mkDerivation rec {
url = "https://attachments.samba.org/attachment.cgi?id=16148";
sha256 = "1xw3d11wb1l8a89jhdp6hhy987nq0gafxfhx5jdhcc5nazahc7s4";
})
(fetchpatch {
name = "CVE-2021-20208.patch";
url = "https://attachments.samba.org/attachment.cgi?id=16477";
sha256 = "1nic669fa65r845pxfb6lmfs78g7aqbaz86r0axm332inb60hj10";
})
];
makeFlags = [ "root_sbindir=$(out)/sbin" ];
meta = with stdenv.lib; {
homepage = "http://www.samba.org/linux-cifs/cifs-utils/";
homepage = "https://wiki.samba.org/index.php/LinuxCIFS_utils";
description = "Tools for managing Linux CIFS client filesystems";
platforms = platforms.linux;
license = licenses.lgpl3;