dia/dia-0.95-cve_2006_2480.patch

25 lines
1.1 KiB
Diff
Raw Permalink Normal View History

diff -pur dia-0.95/app/commands.c dia-0.95-fix/app/commands.c
--- dia-0.95/app/commands.c 2006-01-27 18:48:45.000000000 +0100
+++ dia-0.95-fix/app/commands.c 2006-05-26 09:22:59.000000000 +0200
@@ -575,7 +575,7 @@ help_manual_callback(gpointer data, guin
ShellExecuteA (0, "open", helpindex, NULL, helpdir, SW_SHOWNORMAL);
#else
command = getenv("BROWSER");
- command = g_strdup_printf("%s 'file://%s' &", command ? command : "gnome-open", helpindex);
+ command = g_strdup_printf("%s 'file://%s' &", command ? command : "konqueror", helpindex);
system(command);
g_free(command);
#endif
diff -pur dia-0.95/plug-ins/xfig/xfig-export.c dia-0.95-fix/plug-ins/xfig/xfig-export.c
--- dia-0.95/plug-ins/xfig/xfig-export.c 2005-08-30 05:45:41.000000000 +0200
+++ dia-0.95-fix/plug-ins/xfig/xfig-export.c 2006-05-26 10:55:08.000000000 +0200
@@ -264,7 +264,7 @@ static void
figWarn(XfigRenderer *renderer, int warning)
{
if (renderer->warnings[warning]) {
- message_warning(renderer->warnings[warning]);
+ message_warning("%s", renderer->warnings[warning]);
renderer->warnings[warning] = NULL;
}
}