[Pkg-ofed-commits] [dapl] 11/21: Add patch update_for_format-security to build with -Werror=format-security
Ana Beatriz Guerrero López
ana at moszumanska.debian.org
Wed Jul 9 14:22:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
ana pushed a commit to branch master
in repository dapl.
commit d18f810f91932eaac59888851541ed842fd5514e
Author: Ana Guerrero López <ana at ekaia.org>
Date: Wed Jul 9 14:10:54 2014 +0200
Add patch update_for_format-security to build with -Werror=format-security
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/update_for_format-security | 11 +++++++++++
3 files changed, 13 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e9816c3..f9d522e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ dapl (2.0.42-1) UNRELEASED; urgency=medium
* Switch to dh and source format 3.0
* Remove placeholder manpages.
* Remove obsolete symbols files.
+ * Add patch update_for_format-security to build with -Werror=format-security.
-- Ana Beatriz Guerrero Lopez <ana at debian.org> Wed, 09 Jul 2014 12:02:12 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9e23d60
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+update_for_format-security
diff --git a/debian/patches/update_for_format-security b/debian/patches/update_for_format-security
new file mode 100644
index 0000000..a080687
--- /dev/null
+++ b/debian/patches/update_for_format-security
@@ -0,0 +1,11 @@
+--- a/test/dapltest/udapl/udapl_tdep.c
++++ b/test/dapltest/udapl/udapl_tdep.c
+@@ -103,7 +103,7 @@ void DT_Tdep_PT_Printf(DT_Tdep_Print_Hea
+ vsprintf(buffer, fmt, args);
+ va_end(args);
+
+- printf(buffer);
++ printf("%s", buffer);
+ }
+
+ DAT_RETURN DT_Tdep_evd_dequeue(DAT_EVD_HANDLE evd_handle, DAT_EVENT * event)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/dapl.git
More information about the Pkg-ofed-commits
mailing list