Skip to content

pstree: consecutive NULs in cmdline args wrongly parsed

Jan Rybar requested to merge jrybar/psmisc:pstree-skip-args-NULs into master

Processes that hide args (e.g. sshd) leave consecutive NULs in cmdline. Those are parsed as argc++ by pstree and printed out, breaking the process tree by huge gaps.
rhbz#1715510

Merge request reports