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

git: sockopt: Short circuit most of the code in soopt_from_kbuf(), if len == 0


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Sep 2009 20:42:30 -0700 (PDT)

commit 565d9f6fb9a897e246a45b5bbdfbc586c82a1c16
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Sep 5 11:27:25 2009 +0800

    sockopt: Short circuit most of the code in soopt_from_kbuf(), if len == 0
    
    Current kva_p() does not work w/ zero sized kmalloced memory.
    
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1481

Summary of changes:
 sys/kern/uipc_socket.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/565d9f6fb9a897e246a45b5bbdfbc586c82a1c16


-- 
DragonFly BSD source repository



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