[6458] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: ps axf (bug found)

daemon@ATHENA.MIT.EDU (bilker@bigfoot.com)
Wed Nov 27 12:46:58 1996

Date: Wed, 27 Nov 1996 09:41:12 -0800
To: redhat-list@redhat.com
From: bilker@bigfoot.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


The bug in "ps axf" is an off-by-one error in ps.c, and takes effect if
there are more than 64 processes in the system.

ps.c: line 518 (approx.):

    if (nodes > maxnodes) {

SHOULD BE:

    if (nodes >= maxnodes) {

 ---------------------------------------------------

This sounds familiar.  Was this subject visited a few weeks ago?  Anyway,
I don't have time to learn RPM production right now, plus which there are
several patches in the SRPM that someone authoritative should probably
apply in the next update version.

 Bill Kerr


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post