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: soopt_from_kbuf: Use szmin(), since both len and sopt_valsize is size_t


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Sep 2009 21:03:54 -0700 (PDT)

commit 231d276bdf26d985fb0bf755300169842e233399
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Sep 5 11:52:32 2009 +0800

    soopt_from_kbuf: Use szmin(), since both len and sopt_valsize is size_t
    
    Mainly to avoid integer truncation on 64bit platform.
    
    Reminded-by: dillon@

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/231d276bdf26d985fb0bf755300169842e233399


-- 
DragonFly BSD source repository



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