GitHub user yew1eb opened a pull request:
https://github.com/apache/kafka/pull/3998
Fix array index out of bounds
This array access might be out of bounds, as the index might be equal to
the array length.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yew1eb/kafka trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3998.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3998
----
commit 4c37969ecb12a39320cd2a11add74f3d5ce6a99a
Author: zhouhai02 <[email protected]>
Date: 2017-09-30T10:46:55Z
fix array index out of bounds
----
---