<<< Date Index >>>     <<< Thread Index >>>

Re: gcc 4.1 bug miscompiles pointer range checks, may place you at risk



Salut,

On Wed, 2006-05-03 at 08:21, leonleon77@xxxxxxxxxxx wrote:
> #define MAXPTR (char *)0xffffffff // this would differ on 64 bit systems

That should be

#define MAXPTR (void *)(~0UL)

no?

                                Tonnerre

Attachment: signature.asc
Description: This is a digitally signed message part