This is the mail archive of the glibc-bugs@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]

[Bug network/22442] New: if_nametoindex could report index for the wrong networking interface


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.

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