Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jun 2011 18:13:50 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Cleanup patches

On Mon, Jun 06, 2011 at 05:40:35PM +0200, Igmar Palsenberg wrote:
> -		if ((uintptr_t)base < mal.brk) *(char *)0=0;
> +		if ((uintptr_t)base < mal.brk)
> +			raise(SIGSEGV);
[etc.]

Fixed using (volatile char *)0=0; instead. As per the original commit
message for this code, the intent is to provide some added safety and
debugging assistance without any significant increase in code size or
bloat.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.