Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/sfc
Colin Ian King e9904990e8 sfc: fix an off-by-one compare on an array size
encap_type should be checked to see if it is greater or equal to
the size of array map to fix an off-by-one array size check. This
fixes an array overrun read as detected by static analysis by
CoverityScan, CID#1398883 ("Out-of-bounds-read")

Fixes: 9b41080125 ("sfc: insert catch-all filters for encapsulated traffic")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-31 12:25:32 -05:00
..
2013-08-29 23:34:51 +01:00
2016-08-12 20:42:20 -07:00
2016-12-01 15:39:38 -05:00
2013-08-29 23:34:51 +01:00
2017-01-27 11:59:31 -05:00
2013-08-29 23:34:51 +01:00
2017-01-16 14:00:46 -05:00
2016-11-18 11:55:38 -05:00