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

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Dec 6 09:28:43 PST 2011


commit 5f659d166599ee5e84be6897b4cd7c630e4cc746
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list