File dia-CVE-2019-19451.patch of Package dia.13496

From fa55c42ea79db7275300d2090634a12ba3dc0297 Mon Sep 17 00:00:00 2001
From: Nils Steinger <git@n-st.de>
Date: Thu, 7 Nov 2019 15:12:18 +0100
Subject: [PATCH] Fix endless loop on filenames with invalid encoding

---
 app/app_procs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/app_procs.c b/app/app_procs.c
index 99c58b0..9625318 100644
--- a/app/app_procs.c
+++ b/app/app_procs.c
@@ -801,6 +801,7 @@ app_init (int argc, char **argv)
 
 	if (!filename) {
 	  g_print (_("Filename conversion failed: %s\n"), filenames[i]);
+    ++i;
 	  continue;
 	}
 
-- 
2.24.0

openSUSE Build Service is sponsored by