git: kernel - Fix null pointer panic related to setproctitle()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 7 16:59:56 PST 2011


commit c7506e9d784f4d699b4d2ae7191af6a1668d1e24
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Mar 7 16:57:47 2011 -0800

    kernel - Fix null pointer panic related to setproctitle()
    
    * Fix a missing NULL check when setproctitle() is called for a
      program whos args were previously too large to fit in the
      per-process p_args cache.
    
    Reported-by: John Marino <dragonflybsd at marino.st>

Summary of changes:
 sys/kern/kern_proc.c |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7506e9d784f4d699b4d2ae7191af6a1668d1e24


-- 
DragonFly BSD source repository





More information about the Commits mailing list