git: kernel - Remove unnecessary < 0 checks for sopt_valsize uns

看板DFBSD_commit作者時間14年前 (2011/12/28 02:04), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5f659d166599ee5e84be6897b4cd7c630e4cc746 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Dec 6 09:21:35 2011 -0800 kernel - Remove unnecessary < 0 checks for sopt_valsize unsigned field + fixup * Remove unnecessary < 0 checks for sopt_valsize, which is an unsigned field * Add an upper-bound test in one place which did not have it. Reported-by: Edward O'callaghan, logan1 Summary of changes: sys/kern/uipc_syscalls.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f659d166599ee5e84be6897b4cd7c630e4cc746 -- DragonFly BSD source repository
文章代碼(AID): #1E-WZ2jf (DFBSD_commit)