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

git: kernel - Remove unnecessary < 0 checks for sopt_valsize unsigned field + fixup


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Dec 2011 09:26:39 -0800 (PST)

commit 5f659d166599ee5e84be6897b4cd7c630e4cc746
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Dec 6 09:21:35 2011 -0800

    kernel - Remove unnecessary < 0 checks for sopt_valsize unsigned field + fixup
    
    * Remove unnecessary < 0 checks for sopt_valsize, which is an unsigned field
    
    * Add an upper-bound test in one place which did not have it.
    
    Reported-by: Edward O'callaghan, logan1

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f659d166599ee5e84be6897b4cd7c630e4cc746


-- 
DragonFly BSD source repository



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