This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Account for alloca use when collecting interface addresses


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]