git: ps - Fix longstanding bug in initial populating loop

看板DFBSD_commit作者時間15年前 (2011/02/16 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DMoaMjF (DFBSD_commit)