Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 10 Feb 2013 20:14:34 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: [PATCH 1/3] protect some clobbered variables with volatile

On Sun, Feb 10, 2013 at 11:31:41PM +0100, Jens Gustedt wrote:
> When switching optimization to higher levels (-O3) and enable link time
> optimization (-flto) gcc finds two variables that might be clobbered
> accross longjmp (orig_tail in dynlink) or vfork (f in popen):

This patch looks correct. BTW, popen is about to be replaced to avoid
vfork (using the new posix_spawn instead), but I don't mind applying
this patch first anyway as motivation for why vfork is a bad idea. :-)

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.