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

git: ps - Fix longstanding bug in initial populating loop


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Feb 2011 17:00:56 -0800 (PST)

commit bff1850cbe94ff3900efb21c70f33d614f3059ef
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Feb 15 16:58:51 2011 -0800

    ps - Fix longstanding bug in initial populating loop
    
    * Fix the populating loop to not try to load KInfo[nentries],
      overflowing the array.
    
    * Fixes a seg-fault which can occur when the allocated array is right on
      a page boundary.

Summary of changes:
 bin/ps/ps.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



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