diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-04 12:48:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-17 11:48:28 +0200 |
commit | 5b5d496c97a348ade1d69ea7117f654d96cd4653 (patch) | |
tree | f838296abebfa9397d65ea9c47c4b3e585299992 /fs | |
parent | 3819252d58bd623168e7fd9dfbacae05450e7ec0 (diff) |
xhci: xhci-mem: off by one in xhci_stream_id_to_ring()
commit 313db3d6488bb03b61b99de9dbca061f1fd838e1 upstream.
The > should be >= here so that we don't read one element beyond the end
of the ep->stream_info->stream_rings[] array.
Fixes: e9df17eb1408 ("USB: xhci: Correct assumptions about number of rings per endpoint.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions