[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/NetworkManager/devel NetworkManager-0.34.cvs20050629-pass-format-string-to-syslog.patch, NONE, 1.1 NetworkManager.spec, 1.59, 1.60



Author: rstrode

Update of /cvs/dist/rpms/NetworkManager/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19676

Modified Files:
	NetworkManager.spec 
Added Files:
	NetworkManager-0.34.cvs20050629-pass-format-string-to-syslog.patch 
Log Message:
- Don't pass log messages into syslog format string (bug 164683).


NetworkManager-0.34.cvs20050629-pass-format-string-to-syslog.patch:
 NetworkManager.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE NetworkManager-0.34.cvs20050629-pass-format-string-to-syslog.patch ---
--- NetworkManager-0.4/src/NetworkManager.c.pass-format-string-to-syslog	2005-07-29 21:12:35.000000000 -0400
+++ NetworkManager-0.4/src/NetworkManager.c	2005-07-29 21:12:49.000000000 -0400
@@ -720,7 +720,7 @@
 		break;
 	}
 
-	syslog (syslog_priority, message);
+	syslog (syslog_priority, "%s", message);
 }
 
 static void


Index: NetworkManager.spec
===================================================================
RCS file: /cvs/dist/rpms/NetworkManager/devel/NetworkManager.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- NetworkManager.spec	11 Jul 2005 19:17:21 -0000	1.59
+++ NetworkManager.spec	30 Jul 2005 01:55:00 -0000	1.60
@@ -8,11 +8,12 @@
 Name: NetworkManager
 Summary: Network link manager and user applications
 Version: 0.4
-Release: 34.%{nm_cvs_version}
+Release: 34.%{nm_cvs_version}.1
 Group: System Environment/Base
 License: GPL
 URL: http://people.redhat.com/dcbw/NetworkManager/
 Source: %{name}-%{version}.%{nm_cvs_version}.tar.gz
+Patch0: NetworkManager-0.34.cvs20050629-pass-format-string-to-syslog.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 PreReq:   chkconfig
@@ -90,6 +91,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .pass-format-string-to-syslog
 
 chmod +ox initscript/RedHat/NetworkManagerDispatcher
 automake-1.7
@@ -178,6 +180,9 @@
 
 
 %changelog
+* Fri Jul 29 2005 Ray Strode  <rstrode redhat com> - 0.4-34.cvs20050629.1
+- Don't pass log messages into syslog format string (bug 164683).
+
 * Mon Jul 11 2005 Dan Williams <dcbw redhat com> - 0.4-34.cvs20050629
 - Move pkgconfig file to devel package (#162316, thanks to Michael Schwendt)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]