mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
dia: fix CVE-2019-19451
This commit is contained in:
parent
882c9488fa
commit
cd463399ff
2 changed files with 15 additions and 0 deletions
11
pkgs/applications/graphics/dia/CVE-2019-19451.patch
Normal file
11
pkgs/applications/graphics/dia/CVE-2019-19451.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
diff -ru a/app/app_procs.c b/app/app_procs.c
|
||||
--- a/app/app_procs.c 2021-01-30 11:09:52.000000000 -0500
|
||||
+++ b/app/app_procs.c 2021-01-30 11:11:05.000000000 -0500
|
||||
@@ -785,6 +785,7 @@
|
||||
|
||||
if (!filename) {
|
||||
g_print (_("Filename conversion failed: %s\n"), filenames[i]);
|
||||
+ ++i;
|
||||
continue;
|
||||
}
|
||||
|
|
@ -13,6 +13,10 @@ stdenv.mkDerivation {
|
|||
sha256 = "1fyxfrzdcs6blxhkw3bcgkksaf3byrsj4cbyrqgb4869k3ynap96";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./CVE-2019-19451.patch
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ gtk2 libxml2 gettext python libxml2Python docbook5
|
||||
libxslt docbook_xsl libart_lgpl ]
|
||||
|
|
Loading…
Reference in a new issue