[Bug 14251] New: ps output broken with 6 digit pids

bugzilla at busybox.net bugzilla at busybox.net
Thu Sep 30 20:32:53 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=14251

            Bug ID: 14251
           Summary: ps output broken with 6 digit pids
           Product: Busybox
           Version: 1.30.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: mrculler at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Overview: The output of busybox ps omits whitespace between the pid and
username for processes with 6 digit pids only.

Steps to reproduce: Run busybox ps on a system with pids >99999, such as debian
bullseye.

Actual results:

# busybox ps
4255 mrc      /bin/bash
18577 root     {cron} /usr/sbin/CRON -f
60890 mrc      tr -d %
103236root     {cron} /usr/sbin/CRON -f
600177mrc      /bin/bash
1456558 mrc      /bin/bash

Expected results: One or more whitespace characters after the pid and before
the username.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list