git: sockopt: Short circuit most of the code in soopt_from_kbuf(

看板DFBSD_commit作者時間16年前 (2009/09/05 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 565d9f6fb9a897e246a45b5bbdfbc586c82a1c16 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Sat Sep 5 11:27:25 2009 +0800 sockopt: Short circuit most of the code in soopt_from_kbuf(), if len == 0 Current kva_p() does not work w/ zero sized kmalloced memory. Dragonfly-bug: http://bugs.dragonflybsd.org/issue1481 Summary of changes: sys/kern/uipc_socket.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/565d9f6fb9a897e246a45b5bbdfbc586c82a1c16 -- DragonFly BSD source repository
文章代碼(AID): #1AeUA4HK (DFBSD_commit)