看板 DFBSD_commit 關於我們 聯絡資訊
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