git: kernel - jails - Fix NULL pointer deref in prison_remote_ip

看板DFBSD_commit作者時間16年前 (2010/02/04 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0f37b34da449352b65d1c0b45976cf1bb919facc Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Feb 3 13:22:23 2010 -0800 kernel - jails - Fix NULL pointer deref in prison_remote_ip() * This might be a bit of a hack but shortcut the routine if td->td_ucred is NULL. This occurs if the routine is called via a kernel support thread. Summary of changes: sys/kern/kern_jail.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f37b34da449352b65d1c0b45976cf1bb919facc -- DragonFly BSD source repository
文章代碼(AID): #1BQWTvzK (DFBSD_commit)