diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-09-06 05:24:10 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-06 05:24:10 +0200 |
commit | 60f2b652f54aa4ac4127a538abad05235fb9c469 (patch) | |
tree | 318e85dba297fe9eff4c633073426509e093f834 /crypto/tcrypt.c | |
parent | Linux 2.6.31-rc9 (diff) | |
download | linux-60f2b652f54aa4ac4127a538abad05235fb9c469.tar.xz linux-60f2b652f54aa4ac4127a538abad05235fb9c469.zip |
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>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions