[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc 4.1 bug miscompiles pointer range checks, may place you at risk
- To: leonleon77@xxxxxxxxxxx
- Subject: Re: gcc 4.1 bug miscompiles pointer range checks, may place you at risk
- From: Tonnerre Lombard <tonnerre.lombard@xxxxxxxxxx>
- Date: Fri, 05 May 2006 06:17:32 +0100
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