DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - sysctl - use a larger buffer to ensure that a ksnprintf() fits


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Dec 2011 15:24:40 -0800 (PST)

commit 871e6aa8ee962f3e767b687c2d6dcdbec1e37fcf
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]