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

git: kthread_create - fix varargs bug


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 24 Feb 2012 13:35:19 -0800 (PST)

commit 70c5c55f6221272a55367e02c3ec30913ae8393a
Author: Alex Hornung <ahornung@gmail.com>
Date:   Fri Feb 24 21:13:19 2012 +0000

    kthread_create - fix varargs bug
    
     * varargs in _kthread_create were handed the formatter but not the
       va_list, leading to all sorts of unexpected behaviour.
    
     * Set up the va_list in the callers of _kthread_create and pass it in
       when calling.
    
    Points-finger-at: tuxillo
    Reported-by: Markus Pfeiffer, Sascha Wildner, Myself

Summary of changes:
 sys/kern/kern_kthread.c |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70c5c55f6221272a55367e02c3ec30913ae8393a


-- 
DragonFly BSD source repository



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