From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: libc-alpha@sourceware.org, bug-hurd@gnu.org
Subject: Re: [hurd,commited] hurd: Make __if_nametoindex return ENODEV if ifname is too long
Date: Tue, 03 Apr 2018 22:03:00 -0000 [thread overview]
Message-ID: <20180403220320.yc77umelgkxnbtsa@var.youpi.perso.aquilenet.fr> (raw)
In-Reply-To: <87sh8c3rvd.fsf@linux-m68k.org>
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
prev parent reply other threads:[~2018-04-03 22:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-03 21:15 Samuel Thibault
2018-04-03 21:25 ` Andreas Schwab
2018-04-03 22:03 ` Samuel Thibault [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180403220320.yc77umelgkxnbtsa@var.youpi.perso.aquilenet.fr \
--to=samuel.thibault@ens-lyon.org \
--cc=bug-hurd@gnu.org \
--cc=libc-alpha@sourceware.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).