Re: Fwd: The GNU C Library version 2.28 is now available

2018-08-14 Thread Thomas Schwinge
Hi! "By the way": very much yay! for "Building and running on GNU/Hurd systems now works without out-of-tree patches". Big thank you to Samuel for driving this effort! :-D On Tue, 14 Aug 2018 22:18:53 +0200, Samuel Thibault wrote: > David Michael, le mer. 01 août 2018 18:59:25 -0400, a ecrit

hurd package

2018-08-14 Thread Rene
Hello, I'm compiling hurd package from git 06429d67b7e9be332d1012ed4c2bba694e5ddabb through Guix and I've the following error: gcc -std=gnu99 -fgnu89-inline -Wall -g -O3 -fno-strict-aliasing  -g -O2 -I.  -I..  -I../include -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DPACKAGE_NAME=\"GNU

Re: Fwd: The GNU C Library version 2.28 is now available

2018-08-14 Thread Samuel Thibault
Hello, David Michael, le mer. 01 août 2018 18:59:25 -0400, a ecrit: > On Wed, Aug 1, 2018 at 6:10 PM, Samuel Thibault > wrote: > > I don't know actually. My wild guess is that upstream will be fine to > > backport anything we feel is really needed, as long as it is limited to > > Hurd code. For

Re: Fwd: The GNU C Library version 2.28 is now available

2018-08-14 Thread David Michael
On Wed, Aug 1, 2018 at 6:10 PM, Samuel Thibault wrote: > David Michael, le mer. 01 août 2018 18:05:50 -0400, a ecrit: >> On Wed, Aug 1, 2018 at 11:37 AM, Samuel Thibault >> wrote: >> > About glibc repositories, we should upgrade the Hurd glibc repository to >> > 2.28, when would that be fine for

Re: [PATCH 4/4] lwip: Fix a buffer overflow and clear compiler warnings

2018-08-14 Thread Samuel Thibault
Joan Lledó, le mar. 14 août 2018 18:17:28 +0200, a ecrit: > Missatge de Samuel Thibault del dia dt., 14 > d’ag. 2018 a les 9:34: > > > - strncpy (in->dev_name, arg, DEV_NAME_LEN); > > > + strncpy (in->dev_name, arg, sizeof(in->dev_name)-1); > > > > Mmm, but if arg is longer than the give

Re: [PATCH 4/4] lwip: Fix a buffer overflow and clear compiler warnings

2018-08-14 Thread Joan Lledó
Missatge de Samuel Thibault del dia dt., 14 d’ag. 2018 a les 9:34: > > - strncpy (in->dev_name, arg, DEV_NAME_LEN); > > + strncpy (in->dev_name, arg, sizeof(in->dev_name)-1); > > Mmm, but if arg is longer than the given size and doesn't contain a \0, > in->dev_name will not contain one e

Re: [PATCH 4/4] lwip: Fix a buffer overflow and clear compiler warnings

2018-08-14 Thread Samuel Thibault
Joan Lledó, le sam. 11 août 2018 18:17:10 +0200, a ecrit: > GCC 8 new warning -Wstringop-truncation detected some buffer overflows. > > * lwip/options.c (parse_opt): Fix the buffer overflow. > * lwip/pfinet-ops.c (dev_ifconf): Likewise. > --- > lwip/options.c| 2 +- > lwip/pfinet-ops.c | 2 +-