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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Security]     [Netfilter]     [PHP]     [Yosemite News]     [Linux Kernel]

  Powered by Linux