diff options
author | Robert Scott <code@humanleg.org.uk> | 2019-10-26 21:06:23 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2019-10-26 21:06:23 +0100 |
commit | def17695b9b4dc6b030258872986f214c5a16aba (patch) | |
tree | d963d4f6c314d6f4ddf8cbd5569c67b903d9256e /pkgs/development/libraries/gdal | |
parent | f82fb81af89559979e90ca55471ab689f6f2da73 (diff) | |
download | nixpkgs-def17695b9b4dc6b030258872986f214c5a16aba.tar nixpkgs-def17695b9b4dc6b030258872986f214c5a16aba.tar.gz nixpkgs-def17695b9b4dc6b030258872986f214c5a16aba.tar.bz2 nixpkgs-def17695b9b4dc6b030258872986f214c5a16aba.tar.lz nixpkgs-def17695b9b4dc6b030258872986f214c5a16aba.tar.xz nixpkgs-def17695b9b4dc6b030258872986f214c5a16aba.tar.zst nixpkgs-def17695b9b4dc6b030258872986f214c5a16aba.zip |
gdal: add patch for CVE-2019-17545
Diffstat (limited to 'pkgs/development/libraries/gdal')
-rw-r--r-- | pkgs/development/libraries/gdal/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gdal/default.nix b/pkgs/development/libraries/gdal/default.nix index bb53277075f..922877f6f46 100644 --- a/pkgs/development/libraries/gdal/default.nix +++ b/pkgs/development/libraries/gdal/default.nix @@ -20,7 +20,15 @@ stdenv.mkDerivation rec { sourceRoot = "source/gdal"; - patches = [ ./001.3_0_1.darwin.patch ]; + patches = [ + ./001.3_0_1.darwin.patch + (fetchpatch { + name = "CVE-2019-17545.patch"; + url = "https://github.com/OSGeo/gdal/commit/148115fcc40f1651a5d15fa34c9a8c528e7147bb.patch"; + stripLen = 1; + sha256 = "0hai59hhvrci9xwjw4lp3wc1brn00imngmqrbbs8v9yr3b0fzbgs"; + }) + ]; nativeBuildInputs = [ autoreconfHook ]; |