We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The function NioParams#setWriteByteBufferSize(int writeByteBufferSize) does not check the bounces of the passed argument writeByteBufferSize, but the readbyteBufferSize instead.
NioParams#setWriteByteBufferSize(int writeByteBufferSize)
writeByteBufferSize
readbyteBufferSize
NioParams
setWriteByteBufferSize(-1)
The bounces of the argument writebyteBufferSize are checked / An IllegalArgumentException is thrown for negative writeByteBufferSizes.
writebyteBufferSize
IllegalArgumentException
It looks like a copy-paste mistake from NioParams.setReadByteBufferSize(int readByteBufferSize).
NioParams.setReadByteBufferSize(int readByteBufferSize)
The text was updated successfully, but these errors were encountered:
73f0ab8
Check write byte buffer size
731ce10
Fixes #1309 (cherry picked from commit 73f0ab8)
Fixed, thanks!
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The function
NioParams#setWriteByteBufferSize(int writeByteBufferSize)
does not check the bounces of the passed argumentwriteByteBufferSize
, but thereadbyteBufferSize
instead.Reproduction steps
NioParams
setWriteByteBufferSize(-1)
Expected behavior
The bounces of the argument
writebyteBufferSize
are checked / AnIllegalArgumentException
is thrown for negativewriteByteBufferSize
s.Additional context
It looks like a copy-paste mistake from
NioParams.setReadByteBufferSize(int readByteBufferSize)
.The text was updated successfully, but these errors were encountered: