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

git: libkvm - Fix seg-fault in ps output when loading a process's argv


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Dec 2011 15:54:23 -0800 (PST)

commit edec16bab2351da1b5e91ea64c7d7155562cf20d
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Dec 1 15:53:24 2011 -0800

    libkvm - Fix seg-fault in ps output when loading a process's argv
    
    * An offset calculation used when the string space is relocated by realloc
      was being stored in an 'int' instead of a 'size_t', causing the
      recalculated pointer to go wild.

Summary of changes:
 lib/libkvm/kvm_proc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository



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