No space between the USER and PROGRAM columns.

Bug #1416327 reported by Arnaud
6
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.

Revision history for this message
Arnaud (arnaud-courtecuisse) wrote :

See attachment for a suggested patch.

Simply replace strdup(....) by strndup(...,8) in function uid2username

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.