]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bridge: fix possible overflow in get_fdb_entries (CVE-2006-5751)
authorChris Wright <chrisw@sous-sol.org>
Mon, 4 Dec 2006 18:44:59 +0000 (19:44 +0100)
committerAdrian Bunk <bunk@stusta.de>
Mon, 4 Dec 2006 18:44:59 +0000 (19:44 +0100)
commite0d34fea66c5dbe70116acac6f4d722564810dca
treea42fa6012da6ffd41acd1e2ea4f926d245cfa6cd
parent25e1dd8a73c6661c03104f53199b501be489888d
bridge: fix possible overflow in get_fdb_entries (CVE-2006-5751)

Make sure to properly clamp maxnum to avoid overflow (CVE-2006-5751).

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Acked-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/bridge/br_ioctl.c