]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: validate unified fw image
authorSucheta Chakraborty <sucheta@dut6195.unminc.com>
Mon, 8 Mar 2010 00:14:48 +0000 (00:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Mar 2010 18:45:30 +0000 (10:45 -0800)
commit0a7f656f6dccd7717032fa5e7f79efa4bdaffeba
tree6fb11b3fac7310e96ab45300029a096cd763b08f
parent5511dbe1ea4d4dd793da0724dc1dc0f81e537e1c
qlcnic: validate unified fw image

Validate all sections of unified fw image, before accessing them,
to avoid seg fault.

Signed-off-by: Sucheta Chakraborty <sucheta@dut6195.unminc.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_init.c