Re: Improve stack smashing protector check

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
On Fri, 30 Oct 2015 11:01:11 -0000, Vicente Olivert Riera wrote:

> > I've just committed the following:
> >     http://www.sudo.ws/repos/sudo/rev/4ade5d1249f4
> 
> I have tested your patch and it doesn't work:
> 
> [snip]
> 
> checking whether C compiler accepts -fstack-protector-strong... yes
> checking whether the linker accepts -fstack-protector-strong... yes
> 
> [snip]
> 
> sudoreplay.o: In function `match_expr':
> sudoreplay.c:(.text+0x798): undefined reference to `__stack_chk_guard'
> sudoreplay.c:(.text+0x9f0): undefined reference to `__stack_chk_fail'
> 
> [snip]

I think you are testing without the patch, the output should look
like this:

checking for compiler stack protector support... -fstack-protector-strong

or:

checking for compiler stack protector support... no

 - todd
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-workers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.