]> git.pld-linux.org Git - packages/libreport.git/blobdiff - format-security.patch
- updated to 2.3.0
[packages/libreport.git] / format-security.patch
index fe3fbe6a370be6c98a0b0f7e9944a5d46dde6289..a986fbe8cca1db62cc29586fb70bf8d6ad6c4ab5 100644 (file)
@@ -1,11 +1,11 @@
---- libreport-2.1.5/src/plugins/ureport.c.orig 2013-07-25 15:39:39.289878178 +0200
-+++ libreport-2.1.5/src/plugins/ureport.c      2013-07-25 15:42:58.916536467 +0200
-@@ -476,7 +476,7 @@
+--- libreport-2.3.0/src/plugins/reporter-ureport.c.orig        2014-10-12 21:30:27.836212240 +0200
++++ libreport-2.3.0/src/plugins/reporter-ureport.c     2014-10-12 21:42:03.026183064 +0200
+@@ -246,7 +246,7 @@
          {
              log(_("This problem has already been reported."));
-             if (response->message)
--                log(response->message);
-+                log("%s", response->message);
+             if (response->urr_message)
+-                log(response->urr_message);
++                log("%s", response->urr_message);
  
              ret = EXIT_STOP_EVENT_RUN;
          }
              free(message);
              gtk_window_set_transient_for(GTK_WINDOW(dlg), GTK_WINDOW(g_wnd_assistant));
              gtk_dialog_run(GTK_DIALOG(dlg));
+--- libreport-2.3.0/src/plugins/reporter-rhtsupport.c.orig     2014-10-02 10:51:43.000000000 +0200
++++ libreport-2.3.0/src/plugins/reporter-rhtsupport.c  2014-10-12 21:46:04.766172924 +0200
+@@ -205,7 +205,7 @@
+         ureport_server_response_save_in_dump_dir(resp, dump_dir_name, conf);
+         if (resp->urr_message)
+-            log(resp->urr_message);
++            log("%s", resp->urr_message);
+     }
+     else if (g_verbose > 2)
+         error_msg(_("Server responded with an error: '%s'"), resp->urr_value);
This page took 0.058737 seconds and 4 git commands to generate.