DragonFly BSD
DragonFly commits List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Mar 2011 16:59:11 -0800 (PST)

commit c7506e9d784f4d699b4d2ae7191af6a1668d1e24
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]