Skip to content

Correctly handle fragmentation in JdkZlibDecoder#10948

Merged
normanmaurer merged 1 commit into
4.1from
zlib
Jan 18, 2021
Merged

Correctly handle fragmentation in JdkZlibDecoder#10948
normanmaurer merged 1 commit into
4.1from
zlib

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:

We had multiple bugs in JdkZlibDecoder which could lead to decoding errors when the data was received in a fragmentated manner.

Modifications:

  • Correctly handle skipping of comments
  • Correctly handle footer / header decoding
  • Add unit test that verifies the correct handling of fragmentation

Result:

Fixes #10875

Motivation:

We had multiple bugs in JdkZlibDecoder which could lead to decoding errors when the data was received in a fragmentated manner.

Modifications:

- Correctly handle skipping of comments
- Correctly handle footer / header decoding
- Add unit test that verifies the correct handling of fragmentation

Result:

Fixes #10875
@normanmaurer normanmaurer merged commit 59b3831 into 4.1 Jan 18, 2021
@normanmaurer normanmaurer deleted the zlib branch January 18, 2021 13:02
@normanmaurer normanmaurer added this to the 4.1.59.Final milestone Jan 18, 2021
normanmaurer added a commit that referenced this pull request Jan 18, 2021
Motivation:

We had multiple bugs in JdkZlibDecoder which could lead to decoding errors when the data was received in a fragmentated manner.

Modifications:

- Correctly handle skipping of comments
- Correctly handle footer / header decoding
- Add unit test that verifies the correct handling of fragmentation

Result:

Fixes #10875
ZzxyNn pushed a commit to ZzxyNn/netty that referenced this pull request Jan 29, 2021
Motivation:

We had multiple bugs in JdkZlibDecoder which could lead to decoding errors when the data was received in a fragmentated manner.

Modifications:

- Correctly handle skipping of comments
- Correctly handle footer / header decoding
- Add unit test that verifies the correct handling of fragmentation

Result:

Fixes netty#10875
raidyue pushed a commit to raidyue/netty that referenced this pull request Jul 8, 2022
Motivation:

We had multiple bugs in JdkZlibDecoder which could lead to decoding errors when the data was received in a fragmentated manner.

Modifications:

- Correctly handle skipping of comments
- Correctly handle footer / header decoding
- Add unit test that verifies the correct handling of fragmentation

Result:

Fixes netty#10875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Behavior of JDKZlibDecoder depends on segmentation of data

2 participants