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

git: kern_{get,set}sockopt - invalid value check


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Mar 2010 07:24:39 -0700 (PDT)

commit b8237e23e62603fbf8951cfb7763999e1404afc2
Author: Alex Hornung <ahornung@gmail.com>
Date:   Wed Mar 17 14:20:15 2010 +0000

    kern_{get,set}sockopt - invalid value check
    
    * Check for sopt_val != NULL && sopt_valsize == 0 and return EINVAL in
      this case, or else an assert will be triggered and the kernel will
      panic.
    
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1696

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b8237e23e62603fbf8951cfb7763999e1404afc2


-- 
DragonFly BSD source repository



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