bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hurd, commited] hurd: Make __if_nametoindex return ENODEV if ifname


From: Joshua Branson
Subject: Re: [hurd, commited] hurd: Make __if_nametoindex return ENODEV if ifname is too long
Date: Tue, 03 Apr 2018 15:15:49 -0700

Hey Samuel,

I wish I had the technical expertise on helping you in maintaining the Hurd 
port.  :(  

You are doing awesome work, and maybe someday I'll be able to help out!

On Tue, Apr 3, 2018, at 3:03 PM, Samuel Thibault wrote:
> Andreas Schwab, on mar. 03 avril 2018 23:24:54 +0200, wrote:
> > On Apr 03 2018, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
> > > +  strncpy (ifr.ifr_name, ifname, IFNAMESIZ - 1);
> > 
> > That leaves ifr.ifr_name[IFNAMESIZ - 1] uninitialized.
> 
> D'oh...
> 
> If I wasn't seemingly all alone actually working on patches for the Hurd
> port, I'd tend to have more time to take care...
> 
> Thanks,
> Samuel
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]