Roland Dreier 60f2b652f5 IB/mad: Check hop count field in directed route MAD to avoid array overflow
The hop count field in a directed route MAD is only allowed to be in the
range 0 to 63 (by spec).  Check that this really is the case to avoid
accessing outside the bounds of the hop array.

Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-09-05 20:24:10 -07:00
..
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2009-01-17 17:11:57 -08:00
2009-01-17 17:11:57 -08:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2006-09-22 15:22:46 -07:00
2008-07-14 23:48:44 -07:00
2009-01-17 17:11:57 -08:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00
2008-07-14 23:48:44 -07:00