git: libkvm - Fix seg-fault in ps output when loading a process's argv
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Dec 1 15:55:50 PST 2011
commit edec16bab2351da1b5e91ea64c7d7155562cf20d
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list