Re: SSE related security hole

Denis Vlasenko
2002-04-18T09:59:26Z

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