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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 3 15:21:45 PST 2010


commit 0f37b34da449352b65d1c0b45976cf1bb919facc
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list