top problems

Michael K. Johnson johnsonm at redhat.com
Mon Dec 8 14:53:21 UTC 2003


On Sun, Dec 07, 2003 at 11:06:34AM +0100, Stephen Reindl wrote:
> The problem in top is: uninitialized variables of the values to be read.
> The second patch in the issue above initializes the values before use.

Thank you!  I attached yet another patch which is functionally equivalent
but a little simpler -- just use calloc to get zeroed memory instead
of calling malloc and memset.

michaelkjohnson

 "He that composes himself is wiser than he that composes a book."
 Linux Application Development                     -- Ben Franklin
 http://people.redhat.com/johnsonm/lad/





More information about the fedora-devel-list mailing list