Merge pull request #45086 from andir/staging/libxml2
libxml2: fix CVE-2018-14567 & CVE-2018-14404
This commit is contained in:
commit
9632b1734f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl
|
{ stdenv, lib, fetchurl, fetchpatch
|
||||||
, zlib, xz, python2, findXMLCatalogs
|
, zlib, xz, python2, findXMLCatalogs
|
||||||
, buildPlatform, hostPlatform
|
, buildPlatform, hostPlatform
|
||||||
, pythonSupport ? buildPlatform == hostPlatform
|
, pythonSupport ? buildPlatform == hostPlatform
|
||||||
@ -20,9 +20,15 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchurl { # CVE-2018-9251
|
(fetchpatch {
|
||||||
url = https://gitlab.gnome.org/GNOME/libxml2/commit/2240fbf5912054af025fb6e01e26375100275e74.diff;
|
name = "CVE-2018-14567_CVE-2018-9251.patch";
|
||||||
sha256 = "01c5dnipz2rmv2dgma1ycvhyiyfvy9makyn6ywahm10jwk5chn3i";
|
url = https://gitlab.gnome.org/GNOME/libxml2/commit/2240fbf5912054af025fb6e01e26375100275e74.patch;
|
||||||
|
sha256 = "1xpqsfkzhrqasza51c821mnds5l317djrz8086fmzpyf68vld03h";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2018-14404.patch";
|
||||||
|
url = https://gitlab.gnome.org/GNOME/libxml2/commit/a436374994c47b12d5de1b8b1d191a098fa23594.patch;
|
||||||
|
sha256 = "19vp7p32vrninnfa7vk9ipw7n4cl1gg16xxbhjy2d0kwp1crvzqh";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user