On Sat, Jan 21, 2006 at 10:57:13PM +0100, Kurt Roeckx wrote:
> I've reduce the code in question to:
> int x;
> static void ** STACK;

Two uninitialized variables.

> static void get_block () {
>   while (1)
>   {
>     STACK[0] = (void *)(&x+(1L<<48));

- Dereference of an uninitialized variable aka undefined behaviour.
- Producing a pointer which is outside of an object. Don't know if this
  is UB also.

>   }
> }

Bastian

-- 
Military secrets are the most fleeting of all.
                -- Spock, "The Enterprise Incident", stardate 5027.4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to