libxml2: add patch to fix CVE-2016-4658

cc #20078
This commit is contained in:
Franz Pletz 2016-11-02 20:43:24 +01:00
parent 04db88d247
commit 64902aebb0
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -12,6 +12,14 @@ in stdenv.mkDerivation rec {
sha256 = "0g336cr0bw6dax1q48bblphmchgihx9p1pjmxdnrd6sh3qci3fgz";
};
patches = [
(fetchpatch {
name = "CVE-2016-4658.patch";
url = "https://git.gnome.org/browse/libxml2/patch/?id=c1d1f7121194036608bf555f08d3062a36fd344b";
sha256 = "0q7i5qgwgzp2x4r820mqq3nx69bgkd7n0v00j28wa6hndbfaaxmb";
})
];
# https://bugzilla.gnome.org/show_bug.cgi?id=766834#c5
postPatch = "patch -R < " + fetchpatch {
name = "schemas-validity.patch";