Re: SSE related security hole

From: Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Date: Thu Apr 18 2002 - 09:57:08 EST


On 17 April 2002 13:23, Jan Hubicka wrote:
> #include <stdlib.h>
> #include <stdio.h>
>
> int
> m ()
> {
> int i, n = 7;
> float comp, sum = 0;
          ^^^^
unused?

> sin(1);

So, removing this sin() stops the bug?

> for (i = 1; i <= n; ++i)
> sum += i;
> printf ("sum of %d ints: %g\n", n, sum);
> return 0;
> }
>
> main ()
> {
> m ();
> }
Can m() body be placed directly in main()?

--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:20 EST