]> git.baikalelectronics.ru Git - kernel.git/commit
irda: Test index before read in stir421x_patch_device()
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 4 Oct 2010 23:30:02 +0000 (01:30 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 11 Oct 2010 00:11:58 +0000 (02:11 +0200)
commitbc04b0ea44ae0abcdd985a556c3dc9b73ea71f2d
treef2a7e56464f6e82de25318c934d07bf6246b39cf
parent1a4d2ae577c20c7b1772465b4c601fb5711d39e3
irda: Test index before read in stir421x_patch_device()

Test whether index exceeds fw->size before reading the element

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
drivers/net/irda/irda-usb.c