ru 2008-04-11 11:34:09 UTC
FreeBSD src repository
Modified files:
usr.bin/top machine.c
Log:
Allocate enough memory for pcpu_cp_time[] to stop sysctl() from
writing outside of array bounds. This fully fixes -P display on
i386, where kern.cp_times prints zeroes for non-existing CPUs.
Revision Changes Path
1.88 +1 -1 src/usr.bin/top/machine.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"