This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/22442] New: if_nametoindex could report index for the wrong networking interface
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 15 Nov 2017 10:47:12 +0000
- Subject: [Bug network/22442] New: if_nametoindex could report index for the wrong networking interface
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22442
Bug ID: 22442
Summary: if_nametoindex could report index for the wrong
networking interface
Product: glibc
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: network
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
The kernel truncates the passed string to IFNAMSIZ - 1 characters, so the glibc
function will return an interface ID for an interface which does not actually
exist.
--
You are receiving this mail because:
You are on the CC list for the bug.