[packages/procps] - segfault fix also for non-systemd systems

adwol adwol at pld-linux.org
Sat Aug 3 12:24:41 CEST 2024


commit 93bf0bf55a04dab33b30a50fca7b64d320a50bec
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Sat Aug 3 11:24:36 2024 +0200

    - segfault fix also for non-systemd systems

 79042e07fab9956135a21b1df7a69d1fbde7ef79.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/79042e07fab9956135a21b1df7a69d1fbde7ef79.patch b/79042e07fab9956135a21b1df7a69d1fbde7ef79.patch
index 78db889..7fd3da2 100644
--- a/79042e07fab9956135a21b1df7a69d1fbde7ef79.patch
+++ b/79042e07fab9956135a21b1df7a69d1fbde7ef79.patch
@@ -56,7 +56,7 @@ index fd6e75f7..e2d754b5 100644
 -        printf("%-*.*s%-9.8s", userlen + 1, userlen, uname, tty + 5);
 +    printf("%-*.*s%-9.8s", userlen + 1, userlen, uname, tty + 5);
 +    if (from)
-+        print_from(session, NULL, ip_addresses, fromlen);
++        print_from(session, u, ip_addresses, fromlen);
 +
 +    /* login time */
 +    if (longform) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/procps.git/commitdiff/93bf0bf55a04dab33b30a50fca7b64d320a50bec



More information about the pld-cvs-commit mailing list