[hurd,commited] hurd: Make __if_nametoindex return ENODEV if ifname is too long
Andreas Schwab
schwab@linux-m68k.org
Tue Apr 3 21:25:00 GMT 2018
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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list