Browse code

Upgraded procps-ng to 3.3.15

Upgraded procps-ng to 3.3.15 to fix :
- CVE-2018-1122 CVE-2018-1123 CVE-2018-1124 CVE-2018-1125
- CVE-2018-1126

Change-Id: I9918bef837eac4761ac44fe112438939c3ee030d
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5474
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

Tapas Kundu authored on 2018/08/10 21:51:35
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,17 +0,0 @@
1
-+++ b/watch.c	2016-06-21 12:46:59.335652273 -0700
2
-@@ -228,10 +228,12 @@
3
- 	 * attributes to apply, but typically there are between 1 and 3.
4
- 	 */
5
- 
6
--	if (*endptr == '\0') set_ansi_attribute(0); /* [m treated as [0m */
7
- 
8
--	for (endptr = numstart = buf; *endptr != '\0'; numstart = endptr + 1)
9
-+	for (endptr = numstart = buf; *endptr != '\0'; numstart = endptr + 1) {
10
- 		set_ansi_attribute(strtol(numstart, &endptr, 10));
11
-+        if (numstart == endptr)
12
-+            set_ansi_attribute(0); /* [m treated as [0m */
13
-+    }
14
- }
15
- 
16
- static void __attribute__ ((__noreturn__)) do_exit(int status)
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:        Programs for monitoring processes
2 2
 Name:           procps-ng
3
-Version:        3.3.12
4
-Release:        3%{?dist}
3
+Version:        3.3.15
4
+Release:        1%{?dist}
5 5
 License:        GPLv2
6 6
 URL:            http://procps.sourceforge.net/
7 7
 Group:          Applications/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Source0:        http://sourceforge.net/projects/procps-ng/files/Production/%{name}-%{version}.tar.xz
11
-%define sha1    procps-ng=82c0745f150f1385ca01fe7d24f05f74e31c94c6
11
+%define sha1    procps-ng=2929bc64f0cf7b2db997eef79b7187658e47230d
12 12
 BuildRequires:  ncurses-devel
13 13
 Requires:       ncurses
14 14
 Conflicts:      toybox
... ...
@@ -91,6 +91,7 @@ make %{?_smp_mflags} check
91 91
 %{_includedir}/proc/slab.h
92 92
 %{_includedir}/proc/alloc.h
93 93
 %{_includedir}/proc/whattime.h
94
+%{_includedir}/proc/numa.h
94 95
 %{_libdir}/pkgconfig/libprocps.pc
95 96
 %{_libdir}/libprocps.so
96 97
 %{_mandir}/man3/*
... ...
@@ -99,6 +100,10 @@ make %{?_smp_mflags} check
99 99
 %defattr(-,root,root)
100 100
 
101 101
 %changelog
102
+*   Fri Aug 10 2018 Tapas Kundu <tkundu@vmware.com> 3.3.15-1
103
+-   Upgrade version to 3.3.15.
104
+-   Fix for CVE-2018-1122 CVE-2018-1123 CVE-2018-1124 CVE-2018-1125
105
+-   Fix for CVE-2018-1126
102 106
 *   Mon Oct 02 2017 Alexey Makhalov <amakhalov@vmware.com> 3.3.12-3
103 107
 -   Added conflicts toybox
104 108
 *   Tue May 02 2017 Anish Swaminathan <anishs@vmware.com> 3.3.12-2