On Thu, 30 Dec 2010 13:47:24 -0400 Joey Hess <[email protected]> wrote:
> Stupid proof of concept (but not good enough for 256-way cpu) patch:
>
> --- stat-intr.c.old 2010-12-30 13:33:45.700814058 -0400
> +++ stat-intr.c 2010-12-30 13:35:13.208825814 -0400
> @@ -139,9 +139,9 @@
> f2=fopen("/proc/interrupts","r");
> if(f2)
> {
> - char line2[64];
> + char line2[1024];
>
> - while(fgets(line2,64,f2))
> + while(fgets(line2,sizeof(line2),f2))
> {
> int j,p2;
>
>
> (Neil, other bug reports should be opened for any other, unrelated
> crashes.)
Done. #608422 - lower severity because the -gtk2 version works fine,
whether Joey's patch for this bug is used or not, the -xaw frontend
doesn't get that far.
--
Neil Williams
=============
http://www.linux.codehelp.co.uk/
pgpApav0KWSyu.pgp
Description: PGP signature

