diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-01-20 13:28:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-21 17:02:52 -0800 |
commit | 08d4d217dff89707471b26348d97258016fcb8ed (patch) | |
tree | 3974c68c132de6cb099244fec1a9600d8ec71b0c /include/linux/stmmac.h | |
parent | 2fa053a0a27440ba2ada7acbc0afb11cdae243b2 (diff) | |
download | linux-08d4d217dff89707471b26348d97258016fcb8ed.tar.gz linux-08d4d217dff89707471b26348d97258016fcb8ed.tar.bz2 linux-08d4d217dff89707471b26348d97258016fcb8ed.zip |
rxrpc: out of bound read in debug code
Smatch complains because we are using an untrusted index into the
rxrpc_acks[] array. It's just a read and it's only in the debug code,
but it's simple enough to add a check and fix it.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
0 files changed, 0 insertions, 0 deletions