No space between the USER and PROGRAM columns.
Bug #1416327 reported by
Arnaud
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nethogs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu version : 12.04.5 LTS
Nethogs version : 0.8.0-1
Expected : separate username and program by a space
Happened : if the username is longer than 8, there is no space between the USER and PROGRAM columns.
To post a comment you must log in.
See attachment for a suggested patch.
Simply replace strdup(....) by strndup(...,8) in function uid2username