[tracker] libtracker-data: fix format-security issue
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: fix format-security issue
- Date: Sun, 23 Jul 2017 20:36:13 +0000 (UTC)
commit 1f39141f3e0cac24fde66e3a4462d0aff3ad7c31
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Fri Jul 21 17:03:08 2017 -0400
libtracker-data: fix format-security issue
https://bugzilla.gnome.org/show_bug.cgi?id=785245
src/libtracker-data/tracker-db-interface-sqlite.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-interface-sqlite.c
b/src/libtracker-data/tracker-db-interface-sqlite.c
index a001e2f..b4ab1d9 100644
--- a/src/libtracker-data/tracker-db-interface-sqlite.c
+++ b/src/libtracker-data/tracker-db-interface-sqlite.c
@@ -1897,7 +1897,7 @@ tracker_db_interface_sqlite_wal_checkpoint (TrackerDBInterface *interface,
g_set_error (error,
TRACKER_DB_INTERFACE_ERROR,
TRACKER_DB_QUERY_ERROR,
- sqlite3_errstr (return_val));
+ "%s", sqlite3_errstr (return_val));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]