From 4242394d7e6eaf7628486cf099b92b99efd88571 Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Tue, 22 Apr 2014 09:36:30 +0200 Subject: [PATCH] Fix hardened builds and typo in configure.ac MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Removes: • clamav_plugin.c:149:5: error: format not a string literal and no format arguments [-Werror=format-security] • ./configure: line 20189: dbl: command not found --- configure.ac | 2 +- src/plugins/clamd/clamav_plugin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b711cbcf4..19bae061a 100644 --- a/configure.ac +++ b/configure.ac @@ -1045,7 +1045,7 @@ dnl Archive: libarchive dnl Fancy: Webkit, curl, optionally libsoup-gnome dnl Gdata: libgdata dnl Geolocation: libchamplain, libsoup -dbl Libravatar: libcurl +dnl Libravatar: libcurl dnl Notification: optionally libnotify libindicate libcanberra_gtk hotkey dnl Pdf-Viewer: libpoppler dnl Perl: sed perl diff --git a/src/plugins/clamd/clamav_plugin.c b/src/plugins/clamd/clamav_plugin.c index 45f2fb3a5..460f672b9 100644 --- a/src/plugins/clamd/clamav_plugin.c +++ b/src/plugins/clamd/clamav_plugin.c @@ -145,7 +145,7 @@ static gboolean scan_func(GNode *node, gpointer data) else { msg = g_strdup_printf(_("File: %s. Size (%d) greater than limit (%d)\n"), outfile, (int) info.st_size, max); statusbar_print_all("%s", msg); - debug_print(msg); + debug_print("%s", msg); g_free(msg); } } -- 2.25.1