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

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


From: Stathis Kamperis <beket@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Mar 2010 03:21:40 -0700 (PDT)

commit 12bdf3fec24e6912ace6e07a8bcf97ccf21d12be
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/12bdf3fec24e6912ace6e07a8bcf97ccf21d12be


-- 
DragonFly BSD source repository



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