Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/brocade/bna
Dan Carpenter 13e2d5187f bna: integer overflow bug in debugfs
We could allocate less memory than intended because we do:

	bnad->regdata = kzalloc(len << 2, GFP_KERNEL);

The shift can overflow leading to a crash.  This is debugfs code so the
impact is very small.

Fixes: 7afc5dbde0 ("bna: Add debugfs interface.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Rasesh Mody <rasesh.mody@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-21 17:43:16 -07:00
..
2015-09-29 13:49:53 -07:00
2015-06-11 15:57:17 -07:00
2015-06-11 15:57:15 -07:00
2016-12-17 11:56:57 -05:00
2016-03-01 15:19:43 -05:00
2015-09-20 21:36:57 -07:00
2016-08-08 15:41:27 -07:00