Heinrich Schuchardt fd6d88f55b test: dm_mdio: avoid out of bounds access
SANDBOX_PHY_REG_CNT is not an allowable index for the array
u16 reg[SANDBOX_PHY_REG_CNT].

Identified by cppcheck.

Fixes: b47edf8069cc ("test: dm_mdio: add a 2nd register to the emulated PHY")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2019-09-04 11:37:19 -05:00
..
2019-08-11 16:43:41 -04:00
2019-04-12 17:32:51 +02:00
2016-10-23 18:33:18 -04:00
2010-07-12 00:14:29 -07:00
2019-08-11 16:43:41 -04:00
2018-11-27 21:06:53 +05:30
2019-08-11 16:43:41 -04:00
2019-09-04 11:37:19 -05:00
2019-08-11 16:43:41 -04:00
2019-09-04 11:37:19 -05:00
2018-11-05 10:41:56 -06:00
2019-01-24 11:35:29 -06:00
2018-07-26 14:08:21 -05:00
2019-09-04 11:37:19 -05:00
2019-08-11 19:27:41 -04:00
2013-04-01 16:33:52 -04:00
2019-08-11 16:43:41 -04:00
2019-01-24 11:35:30 -06:00
2019-05-18 08:15:35 -04:00
2019-08-11 16:43:41 -04:00
2019-08-09 23:15:01 +02:00
2019-04-16 16:29:00 +05:30