import CS procps-ng-3.3.17-15.el9

This commit is contained in:
AlmaLinux RelEng Bot 2026-08-24 09:34:40 -04:00
parent d119a18ae1
commit 7d08bc7c0d
2 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,36 @@
diff --git a/top/top.c b/top/top.c
index 58badaa..bbfc09b 100644
--- a/top/top.c
+++ b/top/top.c
@@ -5381,6 +5381,7 @@ static void keys_task (int ch) {
#endif
if (p >= w->procflgs) {
w->rc.sortindx = *p;
+ w->begtask = 0;
#ifndef TREE_NORESET
OFFw(w, Show_FOREST);
#endif
@@ -5402,6 +5403,7 @@ static void keys_task (int ch) {
#endif
if (p < w->procflgs + w->maxpflgs) {
w->rc.sortindx = *p;
+ w->begtask = 0;
#ifndef TREE_NORESET
OFFw(w, Show_FOREST);
#endif
@@ -5440,6 +5442,7 @@ static void keys_task (int ch) {
OFFw(w, Show_FOREST);
}
#endif
+ w->begtask = 0;
break;
case 'S':
if (VIZCHKw(w)) {
@@ -5721,6 +5724,7 @@ static void keys_xtra (int ch) {
default: // keep gcc happy
break;
}
+ w->begtask = 0;
// some have objected to this message, so we'll just keep silent...
// show_msg(fmtmk("%s sort compatibility key honored", xmsg));
} // end: keys_xtra

View File

@ -4,7 +4,7 @@
Summary: System and process monitoring utilities
Name: procps-ng
Version: 3.3.17
Release: 13%{?dist}
Release: 15%{?dist}
License: GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
URL: https://sourceforge.net/projects/procps-ng/
@ -26,6 +26,7 @@ Patch8: display-sig-unsafe.patch
Patch9: ps-out-of-bonds-read.patch
Patch10: sysctl-nameonly-shows-value.patch
Patch11: cve-2023-4016.patch
Patch12: top-sort-by-mem-begtask-reset.patch
BuildRequires: make
@ -168,6 +169,14 @@ ln -s %{_bindir}/pidof %{buildroot}%{_sbindir}/pidof
%files i18n -f %{name}.lang
%changelog
* Wed May 13 2026 Jan Rybar <jrybar@redhat.com> - 3.3.17-15
- top: scan all user processes after sorting by memory enabled
- Resolves: RHEL-46760
* Mon Jan 22 2024 Jan Rybar <jrybar@redhat.com> - 3.3.17-14
- top: processes for specific user not displayed if sorted by mem
- Resolves: RHEL-16278
* Fri Aug 11 2023 Jan Rybar <jrybar@redhat.com> - 3.3.17-13
- ps: mitigation of possible buffer overflow
- Resolves: rhbz#2228504