Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 02:26:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 199891] [patch] 'vmstat -i' output is wrong on RPi
Message-ID:  <bug-199891-8-ft36R9YZms@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199891-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199891-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199891

--- Comment #2 from commit-hook@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199891-8-ft36R9YZms>