git: soopt_from_kbuf: Use szmin(), since both len and sopt_valsi

看板DFBSD_commit作者時間16年前 (2009/09/05 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 231d276bdf26d985fb0bf755300169842e233399 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Sat Sep 5 11:52:32 2009 +0800 soopt_from_kbuf: Use szmin(), since both len and sopt_valsize is size_t Mainly to avoid integer truncation on 64bit platform. Reminded-by: dillon@ Summary of changes: sys/kern/uipc_socket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/231d276bdf26d985fb0bf755300169842e233399 -- DragonFly BSD source repository
文章代碼(AID): #1AeUd8Ld (DFBSD_commit)