]> git.karo-electronics.de Git - mv-sheeva.git/commit
ipv4: ARP neigh procfs buffer overflow
authorroel kluin <roel.kluin@gmail.com>
Wed, 29 Jul 2009 23:46:59 +0000 (23:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2009 20:27:29 +0000 (13:27 -0700)
commita3e8ee682003685b8b9c98c89340a42e48c3e813
tree11d1c94289aa4c4aa668b3df6bd121d9eb76acdc
parent3d54015b750e5d5e950a1dcee2735387fd4b6e1a
ipv4: ARP neigh procfs buffer overflow

If arp_format_neigh_entry() can be called with n->dev->addr_len == 0, then a
write to hbuffer[-1] occurs.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c