Control: forwarded -1 https://gitlab.com/procps-ng/procps/-/issues/301
Control: tags -1 fixed-upstream

On Thu, 25 Apr 2024 at 22:36, David <dav.sec.li...@gmail.com> wrote:

> Hello, it seems there is a bug in the debian package "procps" with the
> "w"utility.
> it produce a segfault when using the "-s" argument.
> I tried download and compile from source, and the bug is not present.
> it is only present with the debian system package (debian trixie).
>
If you enabled systemd and compiled 4.0.4 you would probably get the same
result.
The issue is the utmp structure doesn't get filled in with the short
options and there is a null pointer.

The next procps release will have the fix at
https://gitlab.com/procps-ng/procps/-/commit/79042e07fab9956135a21b1df7a69d1fbde7ef79
I'll leave this Debian bug open until 4.0.5 makes it into Debian.

 - Craig

Reply via email to