libunique-1.1.6-format-security.patch 724 B

123456789101112131415
  1. --- libunique-1.1.6/tests/test-unique.c.orig 2014-05-07 11:05:02.743420865 +0100
  2. +++ libunique-1.1.6/tests/test-unique.c 2014-05-07 11:24:20.163336706 +0100
  3. @@ -82,10 +82,10 @@
  4. GTK_DIALOG_DESTROY_WITH_PARENT,
  5. GTK_MESSAGE_INFO,
  6. GTK_BUTTONS_CLOSE,
  7. - title);
  8. + "%s", title);
  9. if (message)
  10. gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
  11. - message);
  12. + "%s", message);
  13. gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE);