GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix JdkZlibDecoder silently truncating highly compressible streams by renechoi · Pull Request #17364 · netty/netty

Conversation

@renechoi

@renechoi renechoi commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #17191, as requested in that thread.

JdkZlibDecoder sizes each output buffer as inflater.getRemaining() << 1. Once the inflater holds decoded bytes but has consumed all input that is 0, the loop exits on needsInput(), and in.skipBytes(...) drops the tail. Nothing is thrown, so a peer just sees a short body.

Fix: floor the proposed capacity at 512 bytes, and keep decoding while the last inflate(...) filled the buffer. maxAllocation is still applied by prepareDecompressBuffer(...).

Added JdkZlibTest#testHighlyCompressibleStreamIsFullyDecoded; on unpatched 4.1 it fails with expected: <65537> but was: <65536>. A 1584-combination sweep: 87 losses before, 0 after, all ZlibWrapper.NONE. ./mvnw -pl codec test on JDK 21: 704 tests, 0 failures; JDK 8 verify -DskipTests=true green.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
normanmaurer
normanmaurer requested changes Aug 31, 2026
View reviewed changes

@normanmaurer normanmaurer left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread codec/src/test/java/io/netty/handler/codec/compression/JdkZlibTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@renechoi

renechoi commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Done in 9dd27b5. The loop is now a @MethodSource with the six (wrapper, size, chunk) rows, so each combination is reported on its own.

Locally the codec suite is 709 tests / 0 failures, and reverting only the decoder change fails exactly the two ZlibWrapper.NONE rows (expected: <65537> but was: <65536> and expected: <33333> but was: <33286>) with the other 22 green.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@testlens-app

This comment has been minimized.

Sign in to view
@normanmaurer normanmaurer modified the milestones: 4.2.18.Final, 4.1.138.Final Aug 31, 2026
@normanmaurer normanmaurer added needs-cherry-pick-4.2 This PR should be cherry-picked to 4.2 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Aug 31, 2026
@normanmaurer

normanmaurer commented Aug 31, 2026

Copy link
Copy Markdown
Member

@renechoi can you please squash and reword the commit message to match our template ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@renechoi
Fix JdkZlibDecoder silently truncating highly compressible streams
6f3140f
Motivation:

JdkZlibDecoder sizes each output buffer as inflater.getRemaining() << 1.
The number of remaining input bytes is only a hint: the inflater may
still hold decoded data that did not fit into the previous output
buffer, and by then it may have consumed the last input bytes, so
getRemaining() is 0 and the proposed buffer has zero capacity. The
decode loop then ends, because it treats inflater.needsInput() as
"there is no output left", and the pending bytes are dropped together
with the input that is skipped afterwards. Nothing is thrown, so a peer
just sees a short body. Measured on 4.1 with raw deflate of 'a'
repeated:

  size=65537   chunk=all  compressed=80  decoded=65536  lost=1
  size=33333   chunk=7    compressed=50  decoded=33286  lost=47

The reason this is rare is that prepareDecompressBuffer(...) only ever
grows an existing buffer and ByteBuf growth is geometric, so there is
normally slack left. That protection is gone whenever the buffer is
reallocated from null: once the decoder forwards a buffer downstream
because it reached its forward threshold, and once at the start of every
decode(...) call. Sweeping 88 payload sizes x {NONE, ZLIB, GZIP} x
{single write, 1-byte reads, 7-byte reads} x {maxAllocation 0, 1 MiB},
87 of those 1584 combinations lose bytes, and all of them are
ZlibWrapper.NONE. ZLIB and GZIP stay correct because their trailer keeps
bytes in the input buffer while output is still pending.

Modifications:

- Never propose a zero-sized output buffer: the proposed capacity is
  floored at MIN_OUTPUT_BUFFER_SIZE (512 bytes). maxAllocation is still
  applied by prepareDecompressBuffer(...), so a configured limit keeps
  its meaning.
- Keep decoding while the last inflate(...) filled the output buffer
  completely. needsInput() only says that all input bytes were consumed,
  not that all output was produced. The flag is cleared as soon as a
  call does not fill the buffer, so the loop cannot spin.
- Add JdkZlibTest#testHighlyCompressibleStreamIsFullyDecoded, a
  parameterized test over the six (wrapper, size, chunk size) rows that
  cover both places where a fresh output buffer is taken, cross-checking
  each compressed fixture with the JDK inflater first.

Result:

A valid deflate stream is fully decoded regardless of its compression
ratio.
@renechoi
renechoi force-pushed the fix/jdkzlibdecoder-tail-loss-4.1 branch from 9dd27b5 to 6f3140f Compare August 31, 2026 14:24
@renechoi

renechoi commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Squashed into 6f3140f and reworded to the Motivation / Modifications / Result form from the developer guide; the old message used Modification: and kept the test change as a separate commit.

No content change: the tree is the same b7771ba before and after the squash, and the diff is still the same two files (+27/-3, +102/-0).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
normanmaurer merged commit d71e82f into netty:4.1 Aug 31, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer

normanmaurer commented Aug 31, 2026

Copy link
Copy Markdown
Member

@renechoi thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot

netty-project-bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Auto-port PR for 4.2: #17370

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot netty-project-bot mentioned this pull request Aug 31, 2026
Auto-port 4.2: Fix JdkZlibDecoder silently truncating highly compressible streams #17370
Merged
@github-actions github-actions Bot removed the needs-cherry-pick-4.2 This PR should be cherry-picked to 4.2 once merged. label Aug 31, 2026
@netty-project-bot

netty-project-bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

normanmaurer pushed a commit that referenced this pull request Aug 31, 2026
@netty-project-bot @renechoi
Auto-port 4.2: Fix JdkZlibDecoder silently truncating highly compress…
f279b3c
…ible streams (#17370)

Auto-port of #17364 to 4.2
Cherry-picked commit: d71e82f

---
Motivation:

JdkZlibDecoder sizes each output buffer as inflater.getRemaining() << 1.
The number of remaining input bytes is only a hint: the inflater may
still hold decoded data that did not fit into the previous output
buffer, and by then it may have consumed the last input bytes, so
getRemaining() is 0 and the proposed buffer has zero capacity. The
decode loop then ends, because it treats inflater.needsInput() as
"there is no output left", and the pending bytes are dropped together
with the input that is skipped afterwards. Nothing is thrown, so a peer
just sees a short body. Measured on 4.1 with raw deflate of 'a'
repeated:

  size=65537   chunk=all  compressed=80  decoded=65536  lost=1
  size=33333   chunk=7    compressed=50  decoded=33286  lost=47

The reason this is rare is that prepareDecompressBuffer(...) only ever
grows an existing buffer and ByteBuf growth is geometric, so there is
normally slack left. That protection is gone whenever the buffer is
reallocated from null: once the decoder forwards a buffer downstream
because it reached its forward threshold, and once at the start of every
decode(...) call. Sweeping 88 payload sizes x {NONE, ZLIB, GZIP} x
{single write, 1-byte reads, 7-byte reads} x {maxAllocation 0, 1 MiB},
87 of those 1584 combinations lose bytes, and all of them are
ZlibWrapper.NONE. ZLIB and GZIP stay correct because their trailer keeps
bytes in the input buffer while output is still pending.

Modifications:

- Never propose a zero-sized output buffer: the proposed capacity is
  floored at MIN_OUTPUT_BUFFER_SIZE (512 bytes). maxAllocation is still
  applied by prepareDecompressBuffer(...), so a configured limit keeps
  its meaning.
- Keep decoding while the last inflate(...) filled the output buffer
  completely. needsInput() only says that all input bytes were consumed,
  not that all output was produced. The flag is cleared as soon as a
  call does not fill the buffer, so the loop cannot spin.
- Add JdkZlibTest#testHighlyCompressibleStreamIsFullyDecoded, a
  parameterized test over the six (wrapper, size, chunk size) rows that
  cover both places where a fresh output buffer is taken, cross-checking
  each compressed fixture with the JDK inflater first.

Result:

A valid deflate stream is fully decoded regardless of its compression
ratio.

(cherry picked from commit
d71e82f)

Co-authored-by: renechoi <[email protected]>
@renechoi renechoi mentioned this pull request Sep 6, 2026
Fix JZlibDecoder truncating highly compressible streams #17392
Merged
normanmaurer pushed a commit that referenced this pull request Sep 7, 2026
@renechoi
Fix JZlibDecoder truncating highly compressible streams (#17392)
8b72847
### Motivation

JZlibDecoder sizes each output buffer from the remaining compressed
input. For highly compressible raw deflate streams, JZlib can consume
the last input byte while decoded bytes remain buffered. The next
zero-sized output buffer makes inflate return Z_BUF_ERROR, and the
decoder silently emits a short body.

`JdkZlibDecoder`, in the same package, already floors that capacity at
512 bytes (#17364).

### Modification

Apply the same floor while draining JZlib. Add parameterized coverage
for the downstream-forwarding and fragmented-input paths, with each
compressed fixture cross-checked by the JDK inflater.

### Result

Raw streams of 65,537 bytes in one write and 33,333 bytes in 7-byte
chunks are fully decoded. codec-compression passes 508 tests, and
`verify` on JDK 11 is clean.
@lhotari lhotari mentioned this pull request Sep 10, 2026
[fix][sec][branch-4.x] Upgrade Netty to 4.1.138 to address several CVEs and bugs apache/pulsar#26515
Merged
2 of 11 tasks
@allthingssecurity allthingssecurity mentioned this pull request Oct 1, 2026
Only fail in ZlibDecoder when the decompression buffer is full #17692
Merged
normanmaurer pushed a commit that referenced this pull request Oct 1, 2026
@allthingssecurity
Only fail in ZlibDecoder when the decompression buffer is full (#17692)
e6fc471
Motivation:

Since #17370 (and #17392 for `JZlibDecoder`), the zlib decoders ask
`ZlibDecoder.prepareDecompressBuffer(...)` for at least 512 bytes
(`MIN_OUTPUT_BUFFER_SIZE`) whenever an `inflate` call did not finish the
stream. `prepareDecompressBuffer` throws as soon as
`ensureWritable(preferredSize, true)` returns 1, that is, when the
buffer is already at `maxAllocation` and has fewer writable bytes than
requested. It does not check whether the buffer still has room.

So with a `maxAllocation` of 512 or less, the decoder throws
`DecompressionException: Decompression buffer has reached maximum size`
for every stream that arrives in more than one read, even when the
buffer is empty. For example, a ZLIB stream of 36 bytes of output with
`maxAllocation = 375`, split into two reads, is rejected. With a larger
`maxAllocation` the same happens once the buffer holds more than
`maxAllocation - 512` bytes and the stream continues, although the
remaining space would be used by the next `inflate` call.

Measured with 2,000 random streams per row and wrapper (ZLIB, GZIP,
NONE), split into two reads, whose whole output fits into
`maxAllocation`:

| `maxAllocation` | `JdkZlibDecoder` 4.2.18 | before #17370 | with this
change |
|---|---|---|---|
| 1-512 | 73-100% fail | 0 | 0 (1) |
| 513-1100 | about 8% fail | 0 | 0 |
| 4096-70000 | 2 of 6,000 fail | 0 | 0 |

(1) except when one read produces exactly `maxAllocation` bytes and the
stream continues; see below.

`JZlibDecoder` also requests `max(2 * remaining input, 512)` bytes
before its first `inflate`. When `2 * input > maxAllocation`, an input
whose output fits is rejected before any byte is decompressed: a single
read that holds a ZLIB stream of 600 random bytes fails with
`maxAllocation = 1024`. That part predates #17392.

#17364 was merged into 4.1 as well, so 4.1.138.Final has the same
behaviour for `JdkZlibDecoder`.

The javadoc of `prepareDecompressBuffer` already says that it calls
`decompressionBufferExhausted(...)` "if the buffer is full and cannot be
expanded further".

Modification:

- In `ZlibDecoder.prepareDecompressBuffer(...)`, only give up when the
buffer could not be expanded and has no writable byte left. Until then
the decoder keeps inflating into the space that is left, and a stream
whose output exceeds `maxAllocation` still fails as before.
- New tests in `ZlibTest`, so they run for both `JdkZlibDecoder` and
`JZlibDecoder`:
- `@ParameterizedTest` over ZLIB, GZIP and NONE with `maxAllocation` 2,
64 and 512: an output smaller than `maxAllocation`, decoded in one read,
in two reads and byte by byte;
- `@ParameterizedTest` over 600, 1000 and 1024 incompressible bytes with
`maxAllocation = 1024` in one read.
- a guard, `@ParameterizedTest` over ZLIB, GZIP and NONE with
`maxAllocation` 64, and ZLIB with 512: 64 KiB of zeros (about 100 bytes
compressed) in one read is still rejected with "Decompression buffer has
reached maximum size", so the limit keeps protecting against small
inputs with a large output.

Result:

`maxAllocation` limits the output of a read again, without rejecting
streams whose output fits.
@netty-project-bot netty-project-bot mentioned this pull request Oct 1, 2026
Auto-port 4.1: Only fail in ZlibDecoder when the decompression buffer is full #17698
Merged
normanmaurer added a commit that referenced this pull request Oct 1, 2026
@netty-project-bot @allthingssecurity @normanmaurer
Auto-port 4.1: Only fail in ZlibDecoder when the decompression buffer…
8ca236e
… is full (#17698)

Auto-port of #17692 to 4.1
Cherry-picked commit: e6fc471

---
Motivation:

Since #17370 (and #17392 for `JZlibDecoder`), the zlib decoders ask
`ZlibDecoder.prepareDecompressBuffer(...)` for at least 512 bytes
(`MIN_OUTPUT_BUFFER_SIZE`) whenever an `inflate` call did not finish the
stream. `prepareDecompressBuffer` throws as soon as
`ensureWritable(preferredSize, true)` returns 1, that is, when the
buffer is already at `maxAllocation` and has fewer writable bytes than
requested. It does not check whether the buffer still has room.

So with a `maxAllocation` of 512 or less, the decoder throws
`DecompressionException: Decompression buffer has reached maximum size`
for every stream that arrives in more than one read, even when the
buffer is empty. For example, a ZLIB stream of 36 bytes of output with
`maxAllocation = 375`, split into two reads, is rejected. With a larger
`maxAllocation` the same happens once the buffer holds more than
`maxAllocation - 512` bytes and the stream continues, although the
remaining space would be used by the next `inflate` call.

Measured with 2,000 random streams per row and wrapper (ZLIB, GZIP,
NONE), split into two reads, whose whole output fits into
`maxAllocation`:

| `maxAllocation` | `JdkZlibDecoder` 4.2.18 | before #17370 | with this
change |
|---|---|---|---|
| 1-512 | 73-100% fail | 0 | 0 (1) |
| 513-1100 | about 8% fail | 0 | 0 |
| 4096-70000 | 2 of 6,000 fail | 0 | 0 |

(1) except when one read produces exactly `maxAllocation` bytes and the
stream continues; see below.

`JZlibDecoder` also requests `max(2 * remaining input, 512)` bytes
before its first `inflate`. When `2 * input > maxAllocation`, an input
whose output fits is rejected before any byte is decompressed: a single
read that holds a ZLIB stream of 600 random bytes fails with
`maxAllocation = 1024`. That part predates #17392.

#17364 was merged into 4.1 as well, so 4.1.138.Final has the same
behaviour for `JdkZlibDecoder`.

The javadoc of `prepareDecompressBuffer` already says that it calls
`decompressionBufferExhausted(...)` "if the buffer is full and cannot be
expanded further".

Modification:

- In `ZlibDecoder.prepareDecompressBuffer(...)`, only give up when the
buffer could not be expanded and has no writable byte left. Until then
the decoder keeps inflating into the space that is left, and a stream
whose output exceeds `maxAllocation` still fails as before.
- New tests in `ZlibTest`, so they run for both `JdkZlibDecoder` and
`JZlibDecoder`:
- `@ParameterizedTest` over ZLIB, GZIP and NONE with `maxAllocation` 2,
64 and 512: an output smaller than `maxAllocation`, decoded in one read,
in two reads and byte by byte;
- `@ParameterizedTest` over 600, 1000 and 1024 incompressible bytes with
`maxAllocation = 1024` in one read.
- a guard, `@ParameterizedTest` over ZLIB, GZIP and NONE with
`maxAllocation` 64, and ZLIB with 512: 64 KiB of zeros (about 100 bytes
compressed) in one read is still rejected with "Decompression buffer has
reached maximum size", so the limit keeps protecting against small
inputs with a large output.

Result:

`maxAllocation` limits the output of a read again, without rejecting
streams whose output fits.

---------

Co-authored-by: allthingssecurity <[email protected]>
Co-authored-by: Norman Maurer <[email protected]>
@normanmaurer normanmaurer removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Oct 16, 2026
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
@renechoi @lltopk
Fix JdkZlibDecoder silently truncating highly compressible streams (n…
bd0ec32
…etty#17364)

Motivation:

JdkZlibDecoder sizes each output buffer as inflater.getRemaining() << 1.
The number of remaining input bytes is only a hint: the inflater may
still hold decoded data that did not fit into the previous output
buffer, and by then it may have consumed the last input bytes, so
getRemaining() is 0 and the proposed buffer has zero capacity. The
decode loop then ends, because it treats inflater.needsInput() as
"there is no output left", and the pending bytes are dropped together
with the input that is skipped afterwards. Nothing is thrown, so a peer
just sees a short body. Measured on 4.1 with raw deflate of 'a'
repeated:

  size=65537   chunk=all  compressed=80  decoded=65536  lost=1
  size=33333   chunk=7    compressed=50  decoded=33286  lost=47

The reason this is rare is that prepareDecompressBuffer(...) only ever
grows an existing buffer and ByteBuf growth is geometric, so there is
normally slack left. That protection is gone whenever the buffer is
reallocated from null: once the decoder forwards a buffer downstream
because it reached its forward threshold, and once at the start of every
decode(...) call. Sweeping 88 payload sizes x {NONE, ZLIB, GZIP} x
{single write, 1-byte reads, 7-byte reads} x {maxAllocation 0, 1 MiB},
87 of those 1584 combinations lose bytes, and all of them are
ZlibWrapper.NONE. ZLIB and GZIP stay correct because their trailer keeps
bytes in the input buffer while output is still pending.

Modifications:

- Never propose a zero-sized output buffer: the proposed capacity is
  floored at MIN_OUTPUT_BUFFER_SIZE (512 bytes). maxAllocation is still
  applied by prepareDecompressBuffer(...), so a configured limit keeps
  its meaning.
- Keep decoding while the last inflate(...) filled the output buffer
  completely. needsInput() only says that all input bytes were consumed,
  not that all output was produced. The flag is cleared as soon as a
  call does not fill the buffer, so the loop cannot spin.
- Add JdkZlibTest#testHighlyCompressibleStreamIsFullyDecoded, a
  parameterized test over the six (wrapper, size, chunk size) rows that
  cover both places where a fresh output buffer is taken, cross-checking
  each compressed fixture with the JDK inflater first.

Result:

A valid deflate stream is fully decoded regardless of its compression
ratio.
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
@netty-project-bot @allthingssecurity
@normanmaurer @lltopk
Auto-port 4.1: Only fail in ZlibDecoder when the decompression buffer…
04f172b
… is full (netty#17698)

Auto-port of netty#17692 to 4.1
Cherry-picked commit: e6fc471

---
Motivation:

Since netty#17370 (and netty#17392 for `JZlibDecoder`), the zlib decoders ask
`ZlibDecoder.prepareDecompressBuffer(...)` for at least 512 bytes
(`MIN_OUTPUT_BUFFER_SIZE`) whenever an `inflate` call did not finish the
stream. `prepareDecompressBuffer` throws as soon as
`ensureWritable(preferredSize, true)` returns 1, that is, when the
buffer is already at `maxAllocation` and has fewer writable bytes than
requested. It does not check whether the buffer still has room.

So with a `maxAllocation` of 512 or less, the decoder throws
`DecompressionException: Decompression buffer has reached maximum size`
for every stream that arrives in more than one read, even when the
buffer is empty. For example, a ZLIB stream of 36 bytes of output with
`maxAllocation = 375`, split into two reads, is rejected. With a larger
`maxAllocation` the same happens once the buffer holds more than
`maxAllocation - 512` bytes and the stream continues, although the
remaining space would be used by the next `inflate` call.

Measured with 2,000 random streams per row and wrapper (ZLIB, GZIP,
NONE), split into two reads, whose whole output fits into
`maxAllocation`:

| `maxAllocation` | `JdkZlibDecoder` 4.2.18 | before netty#17370 | with this
change |
|---|---|---|---|
| 1-512 | 73-100% fail | 0 | 0 (1) |
| 513-1100 | about 8% fail | 0 | 0 |
| 4096-70000 | 2 of 6,000 fail | 0 | 0 |

(1) except when one read produces exactly `maxAllocation` bytes and the
stream continues; see below.

`JZlibDecoder` also requests `max(2 * remaining input, 512)` bytes
before its first `inflate`. When `2 * input > maxAllocation`, an input
whose output fits is rejected before any byte is decompressed: a single
read that holds a ZLIB stream of 600 random bytes fails with
`maxAllocation = 1024`. That part predates netty#17392.

netty#17364 was merged into 4.1 as well, so 4.1.138.Final has the same
behaviour for `JdkZlibDecoder`.

The javadoc of `prepareDecompressBuffer` already says that it calls
`decompressionBufferExhausted(...)` "if the buffer is full and cannot be
expanded further".

Modification:

- In `ZlibDecoder.prepareDecompressBuffer(...)`, only give up when the
buffer could not be expanded and has no writable byte left. Until then
the decoder keeps inflating into the space that is left, and a stream
whose output exceeds `maxAllocation` still fails as before.
- New tests in `ZlibTest`, so they run for both `JdkZlibDecoder` and
`JZlibDecoder`:
- `@ParameterizedTest` over ZLIB, GZIP and NONE with `maxAllocation` 2,
64 and 512: an output smaller than `maxAllocation`, decoded in one read,
in two reads and byte by byte;
- `@ParameterizedTest` over 600, 1000 and 1024 incompressible bytes with
`maxAllocation = 1024` in one read.
- a guard, `@ParameterizedTest` over ZLIB, GZIP and NONE with
`maxAllocation` 64, and ZLIB with 512: 64 KiB of zeros (about 100 bytes
compressed) in one read is still rejected with "Decompression buffer has
reached maximum size", so the limit keeps protecting against small
inputs with a large output.

Result:

`maxAllocation` limits the output of a read again, without rejecting
streams whose output fits.

---------

Co-authored-by: allthingssecurity <[email protected]>
Co-authored-by: Norman Maurer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@normanmaurer normanmaurer normanmaurer requested changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.1.138.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@renechoi @normanmaurer @netty-project-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.