htop
htop copied to clipboard
Fix for not completely updating command line
Expectedly fixes #905. Didn't check. strncpy reports itself as non-zero-terminated safe.
This is not the problem; all callers of setCommand ensure that command[len] == '\0'.
… except the one in LinuxProcessList_readCmdlineFile, bug introduced in bd5d37f297fed2a42acbbd730e2af5ad45af6afa, but fixed with #812.