]> git.hungrycats.org Git - linux/commit
[PATCH] bridge: fix possible overflow in get_fdb_entries (CVE-2006-5751)
authorChris Wright <chrisw@sous-sol.org>
Mon, 20 Nov 2006 23:02:49 +0000 (15:02 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 29 Nov 2006 19:28:24 +0000 (11:28 -0800)
commit9c45f612e952238e27f14e02b4d09123bf415207
tree0dfc4ae3b9f8b742983ba77af43eee61ff32f772
parentc929bdcba5133b958b5f913b7de9bdba61025c64
[PATCH] 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: Eugene Teo <eteo@redhat.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/bridge/br_ioctl.c