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

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Jun 29 17:25:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=22442

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.26/master has been updated
       via  74d16a57a3615fcf05e5c60cb5a8f25e8acf38b9 (commit)
      from  3aaf8bda00988f21f4a83affff47bafc74a745a0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=74d16a57a3615fcf05e5c60cb5a8f25e8acf38b9

commit 74d16a57a3615fcf05e5c60cb5a8f25e8acf38b9
Author: Steve Ellcey <sellcey@caviumnetworks.com>
Date:   Fri Jun 29 17:32:23 2018 +0200

    Check length of ifname before copying it into to ifreq structure.

        [BZ #22442]
        * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
        Check if ifname is too long.

    (cherry picked from commit 2180fee114b778515b3f560e5ff1e795282e60b0)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                          |    6 ++++++
 NEWS                               |    1 +
 sysdeps/unix/sysv/linux/if_index.c |    6 ++++++
 3 files changed, 13 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list