git: sockopt: Short circuit most of the code in soopt_from_kbuf(), if len == 0
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Sep 4 20:43:00 PDT 2009
commit 565d9f6fb9a897e246a45b5bbdfbc586c82a1c16
Author: Sepherosa Ziehau <sephe at 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
More information about the Commits
mailing list