git: kernel - sysctl - use a larger buffer to ensure that a ksnprintf() fits
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Dec 1 15:27:40 PST 2011
commit 871e6aa8ee962f3e767b687c2d6dcdbec1e37fcf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Nov 30 20:39:02 2011 -0800
kernel - sysctl - use a larger buffer to ensure that a ksnprintf() fits
* Use a larger buffer to ensure that a ksnprintf() fits. This doesn't
fix any bugs per-say but it does ensure that any normal integer OID
will be properly displayed.
* No current sysctls have OIDs large enough to have triggered the problem.
Summary of changes:
sys/kern/kern_sysctl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/871e6aa8ee962f3e767b687c2d6dcdbec1e37fcf
--
DragonFly BSD source repository
More information about the Commits
mailing list