https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268944

--- Comment #2 from John F. Carr <[email protected]> ---
Created attachment 244813
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244813&action=edit
initialize uninitialized variable

The calculation of output field width is done in pmc_width.  On my Ampere
system that function fails with errno=EINVAL.  The field width is an
uninitialized stack variable, which holds a very large value.  Initializing the
value to zero results in sane behavior.

The return value of pmc_width is explicitly ignored by pmcstat.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to