[packages/usermode] - up to 1.111 - added usermode-userhelper-format-security.patch against error: format not a string l
blekot
blekot at pld-linux.org
Fri Mar 29 10:55:46 CET 2013
commit bfcda3288617ff22db7185db378918a13bf4ddfe
Author: Lukasz Glebicki <blekot at pld-linux.org>
Date: Sat Jan 26 22:27:44 2013 +0100
- up to 1.111
- added usermode-userhelper-format-security.patch against error: format not a string literal and no format arguments [-Werror=format-security]
- $RPM_BUILD_ROOT/etc/security/console.app are not included by default
usermode-userhelper-format-security.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/usermode-userhelper-format-security.patch b/usermode-userhelper-format-security.patch
new file mode 100644
index 0000000..489f40f
--- /dev/null
+++ b/usermode-userhelper-format-security.patch
@@ -0,0 +1,11 @@
+--- usermode-1.111/userhelper.c.orig 2013-01-26 22:20:46.000000000 +0100
++++ usermode-1.111/userhelper.c 2013-01-26 22:20:57.000000000 +0100
+@@ -582,7 +582,7 @@
+
+ if (banner == 0) {
+ if ((data->banner != NULL) && (data->domain != NULL)) {
+- text = g_strdup_printf(dgettext(data->domain, data->banner));
++ text = g_strdup_printf("%s", dgettext(data->domain, data->banner));
+ } else {
+ if ((service != NULL) && (strlen(service) > 0)) {
+ if (data->fallback_allowed) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/usermode.git/commitdiff/3806cadfcc2f2e3fce25eee6326d2fe71e0e8ffb
More information about the pld-cvs-commit
mailing list