metricUnixProcess plugin uses the auto allocation extension of fscanf when reading in strings. This worked out of the box on olders distros, but appears to break on newer platforms with out _GNU_SOURCE explicitly defined.
Patch attached.
Committed to CVS Head.
Re-opening. Need to review the existing code and probably move away from the buffer auto-allocation extension provided in scanf.
Rolled committed patch back out of CVS.
Statically allocate resname and procname buffers
Committed to CVS Head
Log in to post a comment.
Patch attached.
Committed to CVS Head.
Re-opening. Need to review the existing code and probably move away from the buffer auto-allocation extension provided in scanf.
Rolled committed patch back out of CVS.
Statically allocate resname and procname buffers
Patch attached.
Committed to CVS Head