libdicom: add patch for CVE-2024-24793 & CVE-2024-24794

+10
+10
pkgs/development/libraries/libdicom/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , uthash 5 , meson 6 , ninja ··· 18 rev = "v${finalAttrs.version}"; 19 sha256 = "sha256-9n0Gp9+fmTM/shgWC8zpwt1pic9BrvDubOt7f+ZDMeE="; 20 }; 21 22 buildInputs = [ uthash ]; 23
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , uthash 6 , meson 7 , ninja ··· 19 rev = "v${finalAttrs.version}"; 20 sha256 = "sha256-9n0Gp9+fmTM/shgWC8zpwt1pic9BrvDubOt7f+ZDMeE="; 21 }; 22 + 23 + patches = [ 24 + (fetchpatch { 25 + name = "CVE-2024-24793.CVE-2024-24794.patch"; 26 + url = "https://github.com/ImagingDataCommons/libdicom/commit/3661aa4cdbe9c39f67d38ae87520f9e3ed50ab16.patch"; 27 + excludes = [ "CHANGELOG.md" ]; 28 + hash = "sha256-/KTp0nKYk6jX4phNHY+nzjEptUBHKM2JkOftS5vHsEw="; 29 + }) 30 + ]; 31 32 buildInputs = [ uthash ]; 33