Files
linux-apfs/drivers/net
nikolay@redhat.com eb6e98a1b2 bonding: fix off-by-one error
Fix off-by-one error because IFNAMSIZ == 16 and when this
code gets executed we stick a NULL byte where we should not.

How to reproduce:
 with CONFIG_CC_STACKPROTECTOR=y (otherwise it may pass by silently)
 modprobe bonding; echo 1 > /sys/class/net/bond0/bonding/mode;
 echo "AAAAAAAAAAAAAAAA" > /sys/class/net/bond0/bonding/primary;

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-01 11:53:43 -04:00
..
2012-11-01 11:53:43 -04:00
2012-09-01 22:44:13 -04:00
2012-10-18 15:34:30 -04:00
2012-10-02 14:37:31 -04:00
2012-10-01 18:39:45 -04:00
2012-10-31 13:42:12 -04:00