libjpeg(-turbo): patch CVE-2020-13790

Fixes #90864 (roundup issue).  Release is said to be expected soon,
but we can patch now anyway.
wip/yesman
Vladimír Čunát 4 years ago
parent 7e57c524a6
commit d5fd2edb1f
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 6
      pkgs/development/libraries/libjpeg-turbo/default.nix

@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
url = "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/a2291b252de1413a13db61b21863ae7aea0946f3.patch";
sha256 = "0nc5vcch5h52gpi07h08zf8br58q8x81q2hv871hrn0dinb53vym";
})
(fetchpatch {
name = "cve-2020-13790.patch";
url = "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d.diff";
sha256 = "0hm5i6qir5w3zxb0xvqdh4jyvbfg7xnd28arhyfsaclfz9wdb0pb";
})
] ++
stdenv.lib.optional (stdenv.hostPlatform.libc or null == "msvcrt")
./mingw-boolean.patch;

Loading…
Cancel
Save