]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: Validate FEM index from ini file and FW
authorPontus Fuchs <pontus.fuchs@gmail.com>
Tue, 18 Oct 2011 07:23:41 +0000 (09:23 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 1 Dec 2011 13:55:42 +0000 (15:55 +0200)
commit97484d73144d654431c6ada622a97bd1b0e01774
tree8250d3c6a0062f9561dbaefa0c30bb3ea2247f7f
parent7d9f00a1c1e66849422d99e0b5247ab0c3d8d10a
wl12xx: Validate FEM index from ini file and FW

Check for out of bound FEM index to prevent reading beyond ini
memory end.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Cc: stable@kernel.org
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/cmd.c