dia: fix CVE-2019-19451

This commit is contained in:
Dmitry Kalinkin 2021-01-30 12:01:45 -05:00
parent 882c9488fa
commit cd463399ff
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 15 additions and 0 deletions

View 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;
}

View file

@ -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 ]