Skip to content

Commit

Permalink
libxml2: add patch to fix CVE-2016-4658
Browse files Browse the repository at this point in the history
cc #20078

(cherry picked from commit 64902ae)
  • Loading branch information
fpletz committed Nov 3, 2016
1 parent eb653d9 commit d158206
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/libxml2/default.nix
Expand Up @@ -10,6 +10,14 @@ 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";
Expand Down

0 comments on commit d158206

Please sign in to comment.