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

看板DFBSD_commit作者時間16年前 (2010/03/18 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BeW4ddi (DFBSD_commit)