]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r299865
authortruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 May 2016 06:54:59 +0000 (06:54 +0000)
committertruckman <truckman@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 May 2016 06:54:59 +0000 (06:54 +0000)
commita2491954277b6ab426680f9a57f6ce7683aef96e
tree7f5f5af76e1f11faf9a2ce38a8bdf81fff2cef04
parent3033f1fa9e9519253eec62da4aa671a6a6cfe10a
MFC r299865

When handling SIOCSIFNAME ensure that the new interface name is NUL
terminated.  Reject the rename attempt if the name is too long.

git-svn-id: svn://svn.freebsd.org/base/stable/10@300278 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/if.c