]> git.baikalelectronics.ru Git - kernel.git/commit
net: Zero terminate ifr_name in dev_ifname().
authorDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2017 20:33:24 +0000 (13:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2017 20:33:24 +0000 (13:33 -0700)
commitc8f28ae47da37c9836409832cf859a314a756219
tree579ed94180d17e7422a26c39d9787771bf5c8409
parentcf4c4e057899f9b4edebc313c2a8157bb34761f9
net: Zero terminate ifr_name in dev_ifname().

The ifr.ifr_name is passed around and assumed to be NULL terminated.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_ioctl.c