[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
rpms/ntp/devel ntp-stable-4.2.0a-20050816-vsnprintf.patch, NONE, 1.1 ntp.spec, 1.37, 1.38
- From: fedora-cvs-commits redhat com
- To: fedora-cvs-commits redhat com
- Subject: rpms/ntp/devel ntp-stable-4.2.0a-20050816-vsnprintf.patch, NONE, 1.1 ntp.spec, 1.37, 1.38
- Date: Mon, 31 Oct 2005 05:09:11 -0500
Author: praszyk
Update of /cvs/dist/rpms/ntp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8524
Modified Files:
ntp.spec
Added Files:
ntp-stable-4.2.0a-20050816-vsnprintf.patch
Log Message:
A similar patch as ntp-4.0.99j-vsnprintf.patch in FEDORA CORE 4
ntp-stable-4.2.0a-20050816-vsnprintf.patch:
msyslog.c | 2 ++
1 files changed, 2 insertions(+)
--- NEW FILE ntp-stable-4.2.0a-20050816-vsnprintf.patch ---
--- ntp-stable-4.2.0a-20050816/libntp/msyslog.c.rasold1 2005-10-31 10:42:05.000000000 +0100
+++ ntp-stable-4.2.0a-20050816/libntp/msyslog.c 2005-10-31 10:56:08.000000000 +0100
@@ -163,6 +163,7 @@
format_errmsg(nfmt, sizeof(nfmt), fmt, errval);
vsnprintf(buf, sizeof(buf), nfmt, ap);
+ buf [sizeof (buf) -1] = '\0';
addto_syslog(level, buf);
va_end(ap);
}
@@ -202,6 +203,7 @@
format_errmsg(nfmt, sizeof(nfmt), fmt, errval);
vsnprintf(buf, sizeof(buf), nfmt, ap);
+ buf [sizeof (buf) -1] = '\0';
addto_syslog(level, buf);
va_end(ap);
}
Index: ntp.spec
===================================================================
RCS file: /cvs/dist/rpms/ntp/devel/ntp.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ntp.spec 10 Oct 2005 08:15:20 -0000 1.37
+++ ntp.spec 31 Oct 2005 10:09:07 -0000 1.38
@@ -8,7 +8,7 @@
Summary: Synchronizes system time using the Network Time Protocol (NTP).
Name: ntp
Version: 4.2.0.a.20050816
-Release: 2
+Release: 3
License: distributable
Group: System Environment/Daemons
Source0: http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-%{tarversion}.tar.gz
@@ -33,6 +33,7 @@
Patch8: ntp-stable-4.2.0a-20040617-Wall.patch
Patch9: ntp-stable-4.2.0a-20040617-ntpd_guid.patch
Patch10: ntp-stable-4.2.0a-20040617-C-Frame-121.patch
+Patch11: ntp-stable-4.2.0a-20050816-vsnprintf.patch
URL: http://www.ntp.org
PreReq: /sbin/chkconfig
@@ -69,6 +70,7 @@
%patch8 -p1 -b .wall
%patch9 -p1 -b .noguid
%patch10 -p1 -b .cframe121
+%patch11 -p1 -b .vsnprintf
%build
@@ -215,6 +217,10 @@
%changelog
+* Mon Oct 31 2005 Petr Raszyk <praszyk redhat com> 4.2.0.a.20050816-3
+- A similar patch as ntp-4.0.99j-vsnprintf.patch in FEDORA CORE 4
+- (current patch is ntp-stable-4.2.0a-20050816-vsnprintf.patch)
+
* Tue Sep 27 2005 Petr Raszyk <praszyk redhat com> 4.2.0.a.20050816-2
- A cosmetic patch. There are some comments and braces '{' '}' added.
- One unprintable character was converted to octal-form .
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]