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

rpms/NetworkManager/FC-4 NetworkManager-0.4-pass-format-string-to-syslog.patch, NONE, 1.1 NetworkManager.spec, 1.58, 1.59



Author: rstrode

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

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


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

--- NEW FILE NetworkManager-0.4-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/FC-4/NetworkManager.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- NetworkManager.spec	11 Jul 2005 19:17:11 -0000	1.58
+++ NetworkManager.spec	30 Jul 2005 01:35:12 -0000	1.59
@@ -7,11 +7,12 @@
 Name: NetworkManager
 Summary: Network link manager and user applications
 Version: 0.4
-Release: 20.FC4
+Release: 20.FC4.1
 Group: System Environment/Base
 License: GPL
 URL: http://people.redhat.com/dcbw/NetworkManager/
 Source: %{name}-%{version}.FC4.cvs20050616.tar.gz
+Patch0: NetworkManager-0.4-pass-format-string-to-syslog.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 PreReq:   chkconfig
@@ -86,6 +87,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .pass-format-string-to-syslog
 
 chmod +ox initscript/RedHat/NetworkManagerDispatcher
 automake-1.7
@@ -175,6 +177,9 @@
 
 
 %changelog
+* Fri Jul 29 2005 Ray Strode  <rstrode redhat com> - 0.4-20.FC4.
+- Don't pass log messages into syslog format string (bug 164683).
+
 * Mon Jul 11 2005 Dan Williams <dcbw redhat com> - 0.4-20.FC4
 - 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]