[PATCH] Account for alloca use when collecting interface addresses

Joseph S. Myers joseph@codesourcery.com
Tue Mar 25 12:20:00 GMT 2014


On Tue, 25 Mar 2014, Andreas Schwab wrote:

> "Joseph S. Myers" <joseph@codesourcery.com> writes:
> 
> > I'm seeing compilation warnings (we clearly need to move to a -Werror 
> > default, I see a recent patch of mine introduced some as well...):
> >
> > ../sysdeps/unix/sysv/linux/check_pf.c:326:20: warning: 'in6ailist' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 
> Thanks for catching that.  This is embarrassing.  I really need to
> improve my testing, especially with the recent increase in warning spam.
> How about this?
> 
> 	* sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
> 	label to be used after in6ailist is initialized.

Looks right to me.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list