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: Upstreaming the glibc Hurd port


Joseph Myers, on mar. 03 avril 2018 15:45:13 +0000, wrote:
> On Mon, 2 Apr 2018, Samuel Thibault wrote:
> 
> > This means that build-glibcs i686-gnu now builds fine.  Among the
> > remaining TODOs, there are
> 
> If you use mainline GCC, however, it fails:
> 
> ../sysdeps/mach/hurd/if_index.c: In function '__if_nametoindex':
> ../sysdeps/mach/hurd/if_index.c:40:3: error: 'strncpy' specified bound 16 equals destination size [-Werror=stringop-truncation]
>    strncpy (ifr.ifr_name, ifname, IFNAMSIZ);
>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Oh, a real bug indeed :)

Samuel


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