[Bug 199891] [patch] 'vmstat -i' output is wrong on RPi

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 13 02:26:47 UTC 2015


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

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: loos
Date: Wed May 13 02:25:54 UTC 2015
New revision: 282829
URL: https://svnweb.freebsd.org/changeset/base/282829

Log:
  Fix the vmstat -i output on ARM.

  The consumers of hw.intrnames expect a NULL byte at end of the string
  containing the interrupt names.

  On ARM all the interrupt name slots are initialized and this leave no room
  for the terminating NULL byte, which makes vmstat read beyond the end of
  intrnames.

  PR:        199891
  Tested on:    RPi 2 and BeagleBone Black

Changes:
  head/sys/arm/arm/intr.c

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


More information about the freebsd-bugs mailing list