netty5/codec-http
Frédéric Brégier cebf46af40 HttpPostMultipartRequestDecoder IndexOutOfBoundsException error (#11335)
Motivation:

When searching for the delimiter, the decoder part within HttpPostBodyUtil
was not checking the left space to check if it could be included or not,
while it should.

Modifications:

Add a check on toRead being greater or equal than delimiterLength before
going within the loop. If the check is wrong, the delimiter is obviously not found.

Add a Junit test to preserve regression.

Result:

No more IndexOutOfBoundsException

Fixes #11334
2021-05-31 08:43:59 +02:00
..
src HttpPostMultipartRequestDecoder IndexOutOfBoundsException error (#11335) 2021-05-31 08:43:59 +02:00
pom.xml Introduce BrotliDecoder (#10960) 2021-05-10 15:39:01 +02:00