]> git.ipfire.org Git - thirdparty/glibc.git/commit
Check length of ifname before copying it into to ifreq structure.
authorSteve Ellcey <sellcey@caviumnetworks.com>
Fri, 29 Jun 2018 15:32:23 +0000 (17:32 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 29 Jun 2018 15:32:23 +0000 (17:32 +0200)
commit74d16a57a3615fcf05e5c60cb5a8f25e8acf38b9
treea2889baba393cf614c82dcf0ce6237b21f9a1194
parent3aaf8bda00988f21f4a83affff47bafc74a745a0
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)
ChangeLog
NEWS
sysdeps/unix/sysv/linux/if_index.c